HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Dynamic Regex Extractor does not work in Verify Messages in this topic - RSS

swalker
swalker
Posts: 1


10/6/2022
swalker
swalker
Posts: 1
Hi all,

We are working on the https://challenge.flood.io script in SS and I decided to use a dynamic regular expression extractor to pull the "Largest Order" value.

We are able to craft the regex and it works in Edit Extractor verify, however when we verify the script it does not work.

Here is my first extractor regex and second dynamic regex extractor


C_largest_order=
largest_order=(.*?);

C_Challenger_order_selected=
value="{{C_largest_order}}" \/><label class="collection_radio_buttons" for="challenger_order_selected_.*?">(\d+)<

I will attach some screen captures of the script below.

0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 555


10/6/2022
George @StresStimulus
George @StresStimulus
Administrator
Posts: 555
I successfully recorded and playback a script from the website above. Here are a couple of suggestions:
  1. Make sure you use the latest StresStimulus version (currently v 5.6.8314)
  2. Set the "Use URL decoding?" property of the C_largest_order extractor to Yes. Not setting this property can cause sporadic errors.






Also, wanted to give you a heads-up that you would need to create a few parameters required by this scenario. I have not described them here since I was unsure if you want to complete the script by yourself for learning purposes. But if you come across any questions, please feel free to post them here, and we will assist you.


- Cheers
0 link






Copyright © 2024 Stimulus Technology