Service Virtualization

  • 1.  Assertion on a webpage and concurrent users

    Posted May 30, 2017 08:16 AM

    Hi,

     

    I got following questions when i'm trying to do performance testing on webpage:

    • How to add text checkpoint in web page after importing a JSON script (recorded by selenium builder)?
    • How to enable concurrent users (say 5 users clicking on particular button) in web page after importing a JSON script (recorded by selenium builder)?

    Earlier i have used Load runner, above options are easily available in toolbar, but unable to do above things in CA DevTest.

     

    Please help me.

     

    -Prabhu



  • 2.  Re: Assertion on a webpage and concurrent users
    Best Answer

    Broadcom Employee
    Posted May 30, 2017 12:52 PM

    Prabhu, this is what you can do

     1. Check point- In your Selenium script  once you import the Json to DEVTEST,  try to add a  Json filter  that will capture the element or value you are looking for  and you can assert on that filter.  

    2.  For 5 users  - Create a staging document  - 5user instance stage... this will run 5 users  at the same time.. 

     

    Staging Document Examples - DevTest Solutions - 9.5 - CA Technologies Documentation 

     

    hope this helps.