Current time: 09-17-2019, 06:17 AM 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
08-18-2011, 02:10 AM
Post: #2
RE: measuring multiple steps with one script?
It largely depends on what you want to do with the test results. Techncially you can run the test without the logdata blocks and it will run and measure each step of the script independently, it's just that the UI can't present the results. If you just care about the numbers you can extract them from the csv files.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-22-2011, 06:39 PM (This post was last modified: 08-22-2011 11:51 PM by nilskuhn.)
Post: #3
RE: measuring multiple steps with one script?
OK, that's interesting. I think I will have a look into the raw data of the results.

What I want is to monitor the results of the different steps of the test case over the time. You can see that realized through differrent wpt monitor-jobs in the attachment. Instead of several jobs I would like to have just one job/script to realize the monitoring of the specialist test case.

If I want to be able to point to the detailed wpt-results of each step I have to separate the test-results of the multistep-script into different folders?


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
08-23-2011, 06:43 AM
Post: #4
RE: measuring multiple steps with one script?
It would likely take a change to wpt monitor to understand multiple steps in a single test.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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