How to skip particular set of requests with jmeter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to skip particular set of requests with jmeter

ebatesliveuser
This post has NOT been accepted by the mailing list yet.
I am reading access log files from jmeter and making the requests with those urls, there are few health check urls in the access logs I need to skip those requests from jmeter, can you provide me the way how can I skip the particular set of requests.
ZK
Reply | Threaded
Open this post in threaded view
|

Re: How to skip particular set of requests with jmeter

ZK
This post was updated on .
Hi,
you could try using an IF controller as a parent to your HTTP Sampler with something along these lines:


IF Controller Condition:
("${YourURL}".indexOf("uniquePatternInYourUrl") >= 0)




ZK

Reply | Threaded
Open this post in threaded view
|

Re: How to skip particular set of requests with jmeter

glinius@live.com
This post has NOT been accepted by the mailing list yet.
In reply to this post by ebatesliveuser
Looking into Access Log Sampler documentation, there is a "Filter Class". You should be able to write your own Filter implementation using LogFilter or SessionFilter as examples.  

Easier option would be pre-parsing your log file prior to passing it to JMeter to remove "unwanted" URLs using external tool. See Stop Making Assumptions! Learn How to Replay Your Production Traffic With JMeter article for details on how to parse your server access logs and convert them into JMeter tests semi-automatically.