Need help with StresStimulus? Start here.
Check if extracted value is in a response
Unregistered User Posts: 475
5/27/2020
|
I have parametrised an input test data so that the script can pick up different value in each iteration run. I want to check if the parametrize test data comes in successive response. I am able to extract the response value but I am not getting any option to compare with the parametrized value. Could you please advise and let me know for any further clarification?
|
|
0
link
|
George @StresStimulus Administrator Posts: 510
5/27/2020
|
Validators can contain extractors as described http://support.stresstimulus.com/display/doc51/Response+Validators Assume you created an extractor named “ItemId” that extracts the id of a newly created item. You can reference the extractor in the Text to search property in a validator by typing {{ItemId}} The below example creates a validator to make sure the new item got added.

Just as a side note, the extractor must appear in a response the precedes the validator that uses it. So if you create an extractor from response #10, you can use this extractor in a validator starting from response #11 and later.
|
|
0
link
|
Copyright © 2023 Stimulus Technology