When we
run the Dynamic URL script, It will show Forbidden or other errors in
listener. To solve this problem using Reqular Expression Extractor .
The following steps explain how to handle dynamic URL using Regular
Expression Extractor.
Step1: Record the site.
Step2: Adding Regular Expression Extractor in the top
Step2: Adding Regular Expression Extractor in the top
- Adding Regular Expression Extractor( Right click on sampler-> Post Processors->Regular Expression Extractor) in Http request sampler.
- In Regular Expression Extractor
Regular Expression:p_auth=([^=&])+
Template: $0$
Match No:1
Step3: Enter reqular expression name (Reference Name) in the url path.
Step4: Save and Run the script. The Result will be successful.
No comments:
Post a Comment