要求されたページは選択されたバージョンでは利用できない。
Creating web service test
Functional testing of web services consists of invoking web service’s APIs from TestArchitect’s test procedures and checking the returned result values.
Planning a web service functional test
Before creating test procedures, plan your web service test as follows:
- Define which service functionality should be tested.
- Determine which APIs of the service are verified.
- Specify which APIs to be called, the call order and how you verify the returned HTTP results.
After planning your test, start creating it.
Creating a web service functional test
Typically, creation of a web service test includes the following steps:
- Instantiate an HTTP request.
- Define necessary information of authentication (learn more), parameters, header, and/or body for an HTTP request.
- Send the HTTP request with prepared information.
- Parse an HTTP response.
- Depending on the HTTP response’s format returned by the tested web service which might be in XML, JSON, or text format, etc., use respective checkpoint built-in actions to verify the response by employing XML checkpoints, JSON checkpoints, or value checkpoints, such as, check value, or check text contains, etc. (Learn more.)