MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
measuring multiple steps with one script?
Current time: 09-23-2020, 05:26 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
measuring multiple steps with one script?
08-16-2011, 01:55 AM
Post: #1
measuring multiple steps with one script?
Hi,
I am using PageTest-Scripts for running multiple-step testcases. The scripted tests are triggered through WPT Monitor-Jobs.

Example-script:
Code:
navigate    http://www.otto.de/Shirt-Laura-Scott-2-Stck/shop-de_dpip_AKL6970736/?expId=3001&ArticleRef=67030983-36-3001&imageToDisplay=3618521.jpg&FromSearch=true&fh_search=shirt
clickAndWait    id'tconRefIntoBasket
navigate    https://www.otto.de/is-bin/INTERSHOP.enfinity/WFS/Otto-OttoDe-Site/de_DE/-/EUR/OV_ViewShoppingCart-View?ls=0
navigate    https://www.otto.de/is-bin/INTERSHOP.enfinity/WFS/Otto-OttoDe-Site/de_DE/-/EUR/OV_ViewShoppingCart-Step2?ls=0&ssl=1
setValue    name'tmp_email    myAccount@otto.de
setValue    name'tmp_password    myPassword
submitForm    name'LoginFormByEMail

If I want to monitor every of the five steps of the script actually I have to create five different scripts, because each step depends on the previous ones. In each of these scripts I mark the step to measure with the logData-statement.
For the following reasons I would like to have just one script for the described test-scenario:
- I want to avoid the administration of redundant parts of different scripts belonging to the same testcase.
- If the agent would measure all the steps of a submitted script during a single execution that would be a great performance-benefit.

How could I get the described feature working?
I would be grateful for any ideas or informations on how to realize something like that.
Nils
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
measuring multiple steps with one script? - nilskuhn - 08-16-2011 01:55 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)