10-16-2013 11:52 AM - edited 10-17-2013 09:10 PM
Is it possible to enable/disable (Before enabling or disabling the any parameter, we need to link or remove the link between the data sheet) the parameters during the test run in HP service test using the custom code?
For example, I am going to execute 10 iterations. In total iterations, 5 has to be executed with 7 request parameters and remaining 5 has to be executed with 5 request parameters but the execution should be done in one go. Here my custom code has to disable the 2 parameters before going to the 6th iteration.
Thanks in advance.
10-21-2013 11:15 AM
Thank you for the information it was very useful.
But, during the implementing I was facing some issue. Please find below the detailed description.
I am having 2 request parameters under one grouping like below format, Parameters FirstName and LastName under Names.
I have tried to skip the above request parameters FirstName and LastName by using the #SKIP# but I am getting error message ‘WSDL file validation failed in ST’. Tool not at all sent any request while using this in data sheet.
Also I have tried with #NIL# but getting error message ‘nil is not acceptable for this parameter’.
Is there any way to SKIP parameters under grouping and array parameters while sending the request in ST?
Kindly help me to solve this issue.
12-11-2013 02:54 AM
I guess those parameters are mandatory fields in your request. Try SKIP and NIL for any of the optional segments within your request.
Use #SKIP# for optional fields within an optional segment.
Use #NIL# for mandatory fields within an optional segment.