Configuring Validation Looping

Tags:  

 

How do I get to the Validation / Looping screen ?

Suite Manager >> Continue with Web Performance Testing >> Load Test (left-side tree) >> Configure link under Validation / Looping (right panel)
 

Steps to Configure Validation during Load Test

  • Click the Configure link under Validation / Looping section of the right panel of the load test screen. The Validation/Looping screen will be displayed.

  • The left side tree view displays the urls within the transaction. Select the url for which validation has to be added.

  • Click the Validation tab from the right panel of the Validation/Looping screen.

  • Click the Add New Validation link. Select the appropriate validation name from the options listed and specify its expected value as given in Specifying Validation.

  • Select the Criteria for Success option from All or Any. If you select 'Any', . If you select All, .

  • Specify the option to follow if the criteria fails. Choose either 'Continue' or 'Stop the user' option.

  • Click Save button to complete the configuration or click the Save & Move to Next URL button to configure validation for the next url within the transaction. The validations configured will be listed on the right panel of the Validation/Looping screen.

  • To edit an existing validation, click the 'Edit' icon adjacent to the validation listed on the right panel of the Validation/Looping screen. After making the necessary changes, click Save button to complete the configuration.

  • To delete a validation, click the 'Delete' icon adjacent to the Edit icon from the right panel of the Validation/Looping screen.

Specifying Validation Check

 
To specify validation while configuring a new validation during the load test, select any of the options listed below and enter the appropriate values for the following fields:
 

Name

Description

Expected Value

check_for_element

To verify the given element type with the specified attribute name and attribute value in the response.

Element type, Attribute Name, Attribute Value

check_for_text

To compare the specified search text, prefix text or suffix text in the response.

Search String, Prefix String, Suffix String

check_for_title

To compare the specified title with the response title.

Title

check_for_status

To verify the specified status code with the status code generated in the response.

Status code

 

Steps to Configure URL Looping during Load Test

  • Click the Configure link under Validation / Looping section of the right panel of the load test screen. The Validation/Looping screen will be displayed.

  • The left side tree view displays the urls within the transaction. Select the url for which loops have to be added.

  • Click the Looping tab from the right panel of the Validation/Looping screen.

  • Click the Add New Condition link. Select any of the conditions from the options listed and specify its expected value as given in Specifying Condition.

  • Select the Criteria for Success option from either 'All' or 'Any'. If you select 'Any', condition is considered success if any of the expected value is found in the page response. If you select All, the validation is considered success only if all of the expected values are found in the page response.

  • Specify the option to follow if the criteria fails. Choose either 'Continue' or 'Stop the user' option.

  • Specify the maximum number of times the url needs to execute, in the Maximum number of Repetition field.

  • Specify the delay between each URL loop in the Repeat Delay field.

  • Click the Save button to complete the looping configuration. Click Save & Move to Next URL button to configure looping for the next url within the transaction.

  • To edit an existing URL loop, click the 'Edit' icon adjacent to the loop listed on the right panel of the Validation/Looping screen. After making the necessary changes, click Save button to complete the configuration.

  • To delete an URL loop, click the 'Delete' icon adjacent to the loop listed on the right panel of the Validation/Looping screen.

Specifying Condition for URL Looping

To select the conditions for url looping during a load test, select any of the options listed below and enter values for appropriate fields

 

Name

Description

Expected Value

repeat_until_element_appear

URL Looping continues until specified element appears.

Element type, Attribute Name, Attribute Value

repeat_until_title_appear

URL Looping continues until specified title appears.

Title

repeat_until_status_appear

URL Looping continues until specified status code appears.

Status code

repeat_until_text_appear

URL Looping continues until specified text appears.

Search String, Suffix String, Prefix String

 





0 Comments  Show recent to old
Post a comment


 RSS of this page

Copyright © 2009, Zoho Corporation. All Rights Reserved.