add http header

Description

Add a name/value pair as an HTTP header field that you might want to include with your request.

Arguments

Valid contexts

This action may be used within the following project items: test modules and user-defined actions.

Notes

Applicable Built-In Settings

The following settings are applicable to this action: remove double quotes from cells.

Example

Suppose that you’d like to test a Google Maps API with the following header fields:

Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0
Authorization: Basic Sm9obi5TBWI0aDpwQHNzd29yZA==
Host: maps.googleapis.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1(java1.5)

Action Lines

Related concepts

Testing web services


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