We can convert in 2 ways.
1 . online tool http://editor.swagger.io/#/
2. Go to https://swagger.io/docs/open-source-tools/swagger-codegen/ Download swagger-codegen-cli-2.2.1.jar and run the following command in command prompt.
java -jar swagger-codegen-cli-2.2.1.jar generate -i http://petstore.swagger.io/v2/swagger.json -l jmeter
Now open open the folder, you can find
Now open the .Jmx file, all the API will be populated .
No comments:
Post a Comment