Versions Compared

Key

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

Table of Contents
maxLevel2

...

As a result, a select list custom field with a list of employees in JSON format is available in your selected issue screens.

...

For each XML/JSON custom field that you add, there is a set of parameters to configure on the field configuration page. 

...

Field

...

Description

...

URL to the required resource.

For the GET requests it can contain GET parameters.

...

Username for basic access authentication (optional)

...

Proxy port

...

Proxy host

...

Proxy scheme (http or https)

...

Support for different values for

...

JSON Path and

...

XPath

To test JSON http field use this the following resource: https://my-json-server.typicode.com/tperepelkin/requests/json.
JSON Path expressions to checkoptions:

  • $.ElapsedTime - single number value (new featureavailable starting with 2.0.2 version)
  • $.PrimaryQueryResult.QueryId - single string value (new featureavailable starting with 2.0.2 version)
  • $..Cells[2].Value - single string value (new featureavailable starting with 2.0.2 version)
  • $..Cells[*].Key - an array of strings

To test XML http field use this the following resource: https://www.w3schools.com/xml/books.xml.
XPath expressions to checkoptions:

  • /bookstore/book[1]/author - single text value of XML element node (new featureavailable starting with 2.0.2 version)
  • /bookstore/book[1]/author/text() - single text value of XML text node
  • /bookstore/book[*]/author - an array of text values, generated from XML element nodes (new featureavailable starting with 2.0.2 version)
  • /bookstore/book[*]/author/text() - an array of text values, generated from XML text nodes

Fields description

For each XML/JSON custom field that you add, there is a set of parameters to configure on the field configuration page. 

Field

Description

URL

URL to the required resource.

For the GET requests it can contain GET parameters.

Basic Auth Username

Username for basic access authentication (optional)

Basic Auth Password 
Password for basic access authentication (optional)
Request Type
An HTTP request type (GET, POST)
Request Data
Body of the HTTP POST request
XPath or JSON Path
Path for getting values

Proxy port

Port number of a proxy server. Proxy settings are available starting with v1.2.11.

Proxy host

IP address of a proxy server. Proxy settings are available starting with v1.2.11.

Proxy scheme (http or https)

Protocol that defines how messages are formatted and transmitted, and what actions web servers and browsers should take in response to various commands. Proxy settings are available starting with v1.2.11.


See also

HTTP - Adding XML/JSON Request Custom Field

...