mercredi 28 novembre 2018

SOAP UI Restful : An error occurred [Illegal character in path at index

I am currently develop a Web Service RESTFUL. To test the Web Service, I'm using SOAP UI.

While performing testing, I got the error Illegal character in path. May I know what is the cause of the error? How to fix the issue? Below is the detail of the problem.

Error Log:

Wed Nov 28 17:05:26 SGT 2018:ERROR:java.net.URISyntaxException: Illegal character in path at index 62: http://127.0.0.1:8080/AdaptiveAuthWSApps/rest/AdaptiveService/{uuid}/{browserinfo}/{ipint}/{lat}/{longitude}/{sessionid}/{spid}/{tr}/{jsnum}/{fingerprint}/{methodset} java.net.URISyntaxException: Illegal character in path at index 62: http://127.0.0.1:8080/AdaptiveAuthWSApps/rest/AdaptiveService/{uuid}/{browserinfo}/{ipint}/{lat}/{longitude}/{sessionid}/{spid}/{tr}/{jsnum}/{fingerprint}/{methodset}

SOAP UI Log:

Wed Nov 28 17:05:26 SGT 2018:ERROR:An error occurred [Illegal character in path at index 62: http://127.0.0.1:8080/AdaptiveAuthWSApps/rest/AdaptiveService/{uuid}/{browserinfo}/{ipint}/{lat}/{longitude}/{sessionid}/{spid}/{tr}/{jsnum}/{fingerprint}/{methodset}], see error log for details Wed Nov 28 17:05:26 SGT 2018:DEBUG:Attempt 1 to execute request Wed Nov 28 17:05:26 SGT 2018:DEBUG:Sending request: POST /?uuid=iz23456&browserinfo=Mozilla%2F8.0%20%28Windows%20NT%206.1%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome%2F49.0.2623.112%20Safari%2F537.36&ipint=16885247&lat=1&longitude=0&sessionid=12w3e4&spid=https%3A%2F%2Fuap%2Fowa&tr=10&jsnum=2&fingerprint=yh8u87&methodset=1%2C1 HTTP/1.1 Wed Nov 28 17:05:26 SGT 2018:DEBUG:Receiving response: HTTP/1.1 200 Wed Nov 28 17:05:26 SGT 2018:DEBUG:Connection can be kept alive indefinitely

Below is the WADL that I used when creating the Test Suite in SOAP UI.

http://127.0.0.1:8080/AdaptiveAuthWSApps/rest/application.wadl

SOAP UI parameter initialize:

enter image description here

Aucun commentaire:

Enregistrer un commentaire