4

I have searched on internet, there are lot of ways to convert Postman script to JMeter script, but none showing vice versa.

Have a JMeter API script and want to convert to Postman Collection or Postman readable format.

Any help will be appreciated.

SAIR
  • 479
  • 3
  • 9

2 Answers2

3

Postman has a proxy built-in:

Start it, then configure in JMeter the proxy to point to Postman:

Run plan and you're done.

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116
0

In conjunction to UBIK LOAD PACK answer, what worked for me on windows:

1 Enable proxy listening mode on Postman enter image description here

2 Restart postman

3 Run the script via CLI, to generate some data as:

jmeter -n -t SimpleController.jmx -l log.jtl -H 127.0.0.1 -P 9999

(assuming your script name is: SimpleController.jmx)

4 You should be able to see the data in Postman history enter image description here

vlatko606
  • 909
  • 1
  • 13
  • 21
  • I tried everything, and it all works fine, except the capture doesn't stop after the test run. For example, in my test plan, I have 100 requests, and these requests run continuously without stopping. – mayuri Aug 08 '23 at 07:44
  • of course, won't stop after the run. your proxy Listener is still active. disable step 1. and won't record any more – vlatko606 Aug 12 '23 at 20:45