If you need to add HTTP Request sampler with dynamic URL that can be different each time from testing to testing you must use one of the Post-Processors offered by JMeter. I usually use Regular Expression Extractor for this purposes.
So, let's imaging that you have "Popular News" web page which contains the links to "News Story" web pages that contains the full texts of news and you want to write a test which will include both "News" page and random "News Story" page.
For this you must include "News" page HTTP Request sampler inside Simple Controller with a Regular Expression Extractor to store random "News Story" page URL to a variable:
Then use the variable with the stored random "News Story" page URL in "News Story" HTTP sampler:
Hi Victor, my name is Santiago I´m using JMeter but I´m newer in it, and your explanations about JMeter is very short.
ReplyDeleteCan you explain a bit more? Please help me.
Santiago, JMeter has good user manual which explains all the things and my blog is about tips and tricks only.
ReplyDeleteHi Victor,
ReplyDeletecan you please let me know what is the stable JMeter version ? I see 2.4 is latest and i worry it can be buggy, Is 2.3.4 is Stable ?
Thank u ,
-Raja
head way, 2.3.4 is stable and works good for me. I still did not use 2.4 and can't say you anything about it.
ReplyDeleteThank Victor ur article is my life saver
ReplyDeleteThank again !!
Hi Victor,
ReplyDeleteHave you worked on simulating video streaming using Jmeter.
Ypu may refer to 'http://jmeter.512774.n5.nabble.com/How-can-we-achieve-RTMP-video-streaming-using-JMeter-td5119240.html' for additional details.
Thanks,
Vipul Kane
kanevipul87@gmail.com
kane,
ReplyDeleteno, I have not.
Exactly what I was looking for. Perfect. Thank you!
ReplyDeletethanks,
ReplyDeleteIt really helped..
thanks Victor.This is very helped to me
ReplyDeleteشركة تسلسك مجارى بالدمام
ReplyDeletektqOWiMw5W