Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Detailed documentation on QMetry REST API provides all the details a developer would need for each of the API calls that are supported with code samples available in javascript, node.js, curl, C#, python, ruby and php.

...

  • You get live instance to test your API, you do not need separate testing tool to test the APIs.

  • Headers and Parameters are predefined, just give API key and trigger the testing.

  • You can get the output in your preferred multiple languages.


Authentication

QMetry authenticates all the REST API requests using api key. API Key can be generated from QMetry Test Management, go to Integration > Open API.



Grouping of APIs

You can see the groups of APIs listed on the panel at left. Just click on the section you want to view and use the APIs of. The section is expanded on the left as well as on the right panel showing APIs under it.

...

  • Request Type: API request type.
  • URL: The URL will remain same for all the users of QMetry for Cloud.
  • Request: Make sure you select Production server and select the language you want to generate the code in.
    • Headers: Provide API Key here. Generate your API Key for authentication from QMetry > Integration > Open API.
    • Body: The section displays mandatory parameters for the API. If you want to view more available parameters, then click on Show JSON Schema as shown in the Additional Body Parameters .
  • Response: You can view corresponding response for the request.

...

To see additional parameters to be passed in request body click on 'SHOW JSON SCHEMA'. See Examples here - how to use additional fields from json schema.




Try Live Example

If you want to try a live example of API, click on the Try button for the API request.

...

  • URL: The URL will remain same for all the users of QMetry for Cloud.
  • apiKey: Enter apiKey that you generated in QMetry Test Management (Integration > Open API).



  • Body: The Request Body displays mandatory system parameters. You can define more parameters for the API as per requirement. Refer to Additional Body Parameters.

...