Discussion:
Recording Swagger and Apiary data
Prateek Dua
2018-08-22 15:49:57 UTC
Permalink
hi,

Can we record Api request and response from Apiary and swagger alike we do
for Postman collection via Http Test script recorder ?
--
sent via device, pls ignore typos.
--
::DISCLAIMER::


----------------------------------------------------------------------------------------------------------------------------------------------------





This message is intended only for the use of the addressee and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If the reader of this message is not the
intended recipient, or the employee or agent responsible for delivering the
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this e-mail in error, please notify us
immediately by return e-mail and delete this e-mail and all attachments
from your system.
g***@live.com
2018-08-27 12:59:53 UTC
Permalink
If you mean importing Swagger API definition
<https://www.getpostman.com/docs/v6/postman/collections/data_formats#importing-swagger>
- currently it is not possible using JMeter. However given you have a
Postman test plan you can easily convert it into a JMeter Test plan by
running it via JMeter's HTTP(S) Test Script Recorder.

1. Prepare JMeter for recording. The fastest and the easiest way is using
JMeter Templates Feature
<https://www.blazemeter.com/blog/how-save-%E2%80%98loads%E2%80%99-time-using-jmeters-template-feature>
. From JMeter's main menu choose *File -> Templates -> Recording* and click
*Create*
2. Prepare Postman for recording. All you need to do is to configure it to
use JMeter as the proxy, the configuration lives under *File -> Preferences
-> Proxy*

<Loading Image...>
3. Run your test
4. JMeter will capture the requests and save them under the Recording
Controller
<http://jmeter.apache.org/usermanual/component_reference.html#Recording_Controller>




--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@jmeter.apache.org
For additional commands, e-mail: user-***@jmeter.apache.org

Loading...