• DocumentCode
    3496764
  • Title

    A Feasible Strategy for Reachability Testing of Internet-Based Concurrent Programs

  • Author

    Pu, Fangli ; Xu, Hai-Yin

  • Author_Institution
    Huazhong Univ. of Sci. & Technol., Wuhan
  • fYear
    2008
  • fDate
    6-8 April 2008
  • Firstpage
    1559
  • Lastpage
    1564
  • Abstract
    Internet-based concurrent programs, such as multiplayer online game program that multiplayer in highly interactive domain behave in space-time unpredictably, offer more advantages and are difficult to test because of their non-deterministic behaviors. One approach to test the concurrent programs is reachability testing. Lei and Carve did more research work and proposed an algorithm for reachability testing. Lei´s algorithm can not ensure that a race variant is always feasible because all the events that occur after the race receive event r can potentially be affected, which may induce exercising false SYN-sequences after the send partner of r of a synchronization pair is changed. For increasing the feasibility of reachability testing, we can remove all the events that occur after the race receive event r after changing the send partner of r. But the problem that we need to solve is how to remove. We propose a feasible strategy to solve the problem. Our strategy uses vector timestamps to determine the happened-before relation between the race receive events of the synchronization pairs of the concurrent program. According to the happened-before relation, we change the send partners of the more receive events in proper order. After we change the send partner of the race receive event r , we need to remove all the events that occur after r in the original execution. Our strategy can ensure the feasibility of race variants. The case study proves that our feasible strategy for reachability testing of the concurrent programs can ensure the feasibility of the testing.
  • Keywords
    Internet; multiprocessing programs; program testing; reachability analysis; Internet-based concurrent programs; false SYN-sequences; feasible strategy; multiplayer online game program; nondeterministic behaviors; reachability testing; synchronization pair; vector timestamps; Animation; Computer science; Electronic mail; Internet; Space technology; Testing; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Networking, Sensing and Control, 2008. ICNSC 2008. IEEE International Conference on
  • Conference_Location
    Sanya
  • Print_ISBN
    978-1-4244-1685-1
  • Electronic_ISBN
    978-1-4244-1686-8
  • Type

    conf

  • DOI
    10.1109/ICNSC.2008.4525469
  • Filename
    4525469