I am using PageTest-Scripts for running multiple-step testcases. The scripted tests are triggered through WPT Monitor-Jobs.
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.