Can any one help in creating test cases for virtual service created through swagger? it gives me some junk test data for the testcases when i created virtual service through swagger. Is there a way to restrict/manipulate the data from any external file or through the tool. And there are around 8 testcases added for by default by the tool when creating VS using swagger. Is there a way to add/minus those testcase numbers.
Thanks,
Siva Notti
In your VSI-->Transaction-->Request Data-->Attributes-->recorded_raw_request will provide the request for your transaction. You can use this request in a REST step and execute it against the VS. If you want support to help you in a WebEx, please open a support case.
Thanks Prema.
I tried the approach it works fine.
However, it gives me some Junk Data, Is there a way to import the test data using any Excel file/Properties file.
What you mean by Junk Data? Are you taking about Request or Response?
You can use data sets to read Excel/CSV files. If this is not what you are looking, please elaborate what you mean by importing the test data?