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:

  1. Define which service functionality should be tested.
  2. Determine which APIs of the service are verified.
  3. 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:

  1. Instantiate an HTTP request.
  2. Define necessary information of authentication (learn more), parameters, header, and/or body for an HTTP request.
  3. Send the HTTP request with prepared information.
  4. Parse an HTTP response.
  5. 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.)

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400