How to make jmeter do a log replay based on the timestamps present in the access log lines

I recently started downloading testing my webapp.

I used the Apache access sampler. I followed this guide.

https://jmeter.apache.org/usermanual/jmeter_accesslog_sampler_step_by_step.pdf

I can make it work. But now the problem is, I reproduced all the requests for receipt in less than 10 minutes.

I want jmeter to run receive requests based on the timestamp at which the receive request was sent.

I can not find such a configuration on the Internet.

I can write a script to curl a receive request at this particular timestamp. But I want to use jmeter.

Is it possible.

EDIT

I created a sample csv file with the lines below:

0,/myAPP/home
5000,/myAPP/home
5000,/myAPP/home

, : enter image description here

count . csv, run.rest .

csv, : enter image description here

, : enter image description here

HTTP-, : enter image description here .

, , csv. .

EDIT2 HTTP-. , . - .

enter image description here

EDIT3

bean timer, , , . , , .

csv, ( 100 )

0,/myAPP/home
100,/myAPP/home
100,/myAPP/home

bean .

enter image description here

: enter image description here

: enter image description here

+3
1

, .

:

1 - Jmeter CSV : URL Delay, CSV.

Youtube JMeter CSV:
http://www.youtube.com/watch?v=aEJNc3TW-g8

2 - JMeter. Java, beanshell script, URL- .

:
CSV ?

1
, , . JMeter ( ).
- JMeter ( )
- Jmeter , .

( ):
12:59:53
+ 24,5
+ 0
= 13:00:18, .

13:00:18
+ 1.8
+ 5
= 13:00:25, .

, , . Offhand, ${delay} - ${responseTime}

2
, , beanshell, .

( script beanshell):

rtime = Integer.parseInt(String.valueOf(prev.getTime())); // on first run will raise warning
delay = Integer.parseInt(vars.get("delay"));    

Integer sleep = delay - rtime;

log.info( "Sleep for " + sleep.toString() + " milli-seconds" );
return sleep;  

3
, response_time > wish_delay?
, . .

, . , , , , beanshell.

+7

All Articles