Generate response 200 for post request

12 views
Skip to first unread message

Mehrdad

unread,
Jul 3, 2024, 1:05:37 PM (2 days ago) Jul 3
to JMeter Forum
Hi
I have sampler that create http post request and send to localhost on port 8000 with jmeter.
now need to know is it possible to run simple server that get request that generate step 1 and send response 200 success on port 8000 with jmeter?

Any idea? 
Thanks


DT

unread,
Jul 4, 2024, 3:42:14 AM (yesterday) Jul 4
to JMeter Forum
The easiest way is just using HTTP Mirror Server, it basically returns the request body with status code 200. 

Another option I can think of is using JSR223 Sampler where you can create i.e. simple HTTP server in Groovy or use a more sophisticated flexible solution like Wiremock 

Mehrdad

unread,
Jul 4, 2024, 10:53:33 AM (18 hours ago) Jul 4
to JMeter Forum

@DT Thanks try them before, as I need to send huge load to this web service, finally decide to separate it from jmerer, and write simple python web service do this.


Thanks
Reply all
Reply to author
Forward
0 new messages