Recording Swagger and Apiary data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Recording Swagger and Apiary data

prateekgommt
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.
Reply | Threaded
Open this post in threaded view
|

Re: Recording Swagger and Apiary data

glinius@live.com
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*

<http://www.jmeter-archive.org/file/t340375/Screen_Shot_2018-08-27_at_14.png>
 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: [hidden email]
For additional commands, e-mail: [hidden email]