IBM Support

URLs created from Swagger definition schemas send incorrect number format

Troubleshooting


Problem

Invalid HTTP requests are made as dynamic portions of URLs created from the Web URL in Rational Integration Tester (RIT) contain decimal numbers when integers are required

Symptom

A URL is required to be sent as follows:

https://myserver:443/one/two/three?mynumber=4

The URL is sent as below:

https://myserver:443/one/two/three?mynumber=4.0

For example, the test console shows this:

Send Request: "Text" on resource "/one/two/three?mynumber={mynumber}" using schema "Text" via "HTTPS" 
      - Send message -> https://myserver:443/one/two/three?mynumber=4.0

This causes the server to reject the request.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBLQQ","label":"IBM Rational Test Workbench"},"Component":"Rational Integration Tester","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 October 2018

UID

ibm10733733