SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    concurrent thread to test the same web app...

    Hi:

    I was thinking that linear test is kind of long. I read that silktest has the conccurent ability. I thought that might be helpfull to have the independent high level test -just check if each link and button works,ie. one level test- cases to be ran at the same time.

    Now I have a couple questions. Since silktest need to have the cursor focused on the app in order to work. How can conccurent thread ran different test cases then?
    How do you start and create a thread? Are these thread from silktest or from window?

  2. #2
    Junior Member
    Join Date
    Jan 2001
    Location
    New York, NY, USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: concurrent thread to test the same web app...

    First thing to remember when running concurrent threads is that only one thread actually has control at any given time. That is, each thread is time-sliced or interleaved. Unless you disable interrupts with a critical statement each thread will be competing for processor time. You probably won't see any throughput improvement in overall test execution. Also, if timing is an issue, then you may need to reconsider whether you want to use concurrent threads.

    You can spawn a thread using the parallel statement or the spawn/rendezvous combination. They are functionally equivalent. Threads can be spawned from a testcase, function, or main.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: concurrent thread to test the same web app...

    I actually use multi-threading regularly.
    The competition for CPU cycles between the threads is usually not that significant in my environment.
    Our application spends a lot of time waiting for network or disk access, however -- these delays lend time to the other threads.

    We also have a few Windows NT machines with dual-CPUs. We have found these to be particularly effective at distributing the CPU load between the threads.

    The main disadvantage with multi-threaded testing is that the SilkTest results reporting does not work the way it is supposed to. You are supposed to be able to sort the results by thread or elapsed time. This works very nicely at first, but once the results get above a certain size, this sorting quits working -- which is a really big pain.

    -Rob
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 08:57 PM.

Copyright BetaSoft Inc.