Test Execution
- Last Updated: November 11, 2024
- 2 minute read
- Corticon
- Version 7.1
- Documentation
The Test Execution option lets you test your Decision Service by making a REST or SOAP request to it. When you select the Test Execution, you choose a server where the Decision Service is deployed, whether to make a REST or SOAP request, and then locate a JSON or XML file for the payload of the request.
Note: While the Decision Service name is
essential for Corticon requests, this panel ignores the
decisionServiceName parameter in the request as it is focused on the current
Decision Service. To execute a test against a selected deployment of the current Decision Service :
- Click Server to select a server that has the Decision Service deployed.
- In the Choose Request File area, click Choose File, then locate and open an XML or JSON request
appropriate for the Decision Service. The Request area shows the
request text. Note: You could choose to paste or type in the request.Note: The entry will be evaluated as to whether it is valid, and, if invalid, highlights the Request area, as illustrated:

- Choose its Request Type to set the type for the
selected file, where:
- REST/JSON expects well-formed JSON as you may have exported from a testsheet, as illustrated in Export a Testsheet to JSON .
- REST/NativeJSON expects the request to adhere to simplified format of Native JSON.
- REST/XML expects well-formed XML.
- SOAP/XML expects well-formed XML in a SOAP wrapper.
Note: XML and SOAP requests require the decision service name to be the name of the Decision Service in the Web Console. If you exported a request from a Ruletest, you can edit the request or set it as you work by selecting the Decision Service name, and then revising the request header by replacing"InsertDecisionServiceName"with, in this case,"Grocery":
- REST/JSON expects well-formed JSON.
- REST/NativeJSON expects the request to adhere to simplified format of Native JSON.
- Click Execute.
The request executes, and then adds the Response text, as shown for native JSON in its simplest form:
