From 2b4d488f4c18920b588b104c1d6606e558deee6e Mon Sep 17 00:00:00 2001 From: Chinthaka Jayatilake <37581983+ChinthakaJ98@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:12:42 +0530 Subject: [PATCH] Removing escape characters --- .../ExceptionHandling/src/test/wso2mi/TimeoutAPITest.xml | 6 +++--- .../src/test/wso2mi/CityInformationAPITest.xml | 2 +- .../src/test/wso2mi/ScienceLabAPITest.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/ExceptionHandling/src/test/wso2mi/TimeoutAPITest.xml b/samples/ExceptionHandling/src/test/wso2mi/TimeoutAPITest.xml index 23f1cdcf42..a32844d5de 100644 --- a/samples/ExceptionHandling/src/test/wso2mi/TimeoutAPITest.xml +++ b/samples/ExceptionHandling/src/test/wso2mi/TimeoutAPITest.xml @@ -19,9 +19,9 @@ $body - {"MESSAGE": "An unexpected error occurred.","REST_API": "TimeoutAPI","ERROR_CODE": 101504,"ERROR_MESSAGE": Send timeout, - "ERROR_DETAIL": ,"ERROR_EXCEPTION": -} + Invalid payload in TimoutAPI test case. diff --git a/samples/RESTtoSOAPConversion/src/test/wso2mi/CityInformationAPITest.xml b/samples/RESTtoSOAPConversion/src/test/wso2mi/CityInformationAPITest.xml index 44043ebdfd..df45cfb0d4 100644 --- a/samples/RESTtoSOAPConversion/src/test/wso2mi/CityInformationAPITest.xml +++ b/samples/RESTtoSOAPConversion/src/test/wso2mi/CityInformationAPITest.xml @@ -18,7 +18,7 @@ $body - {"LookupCityResult":{"City":"Chicago","State":"IL","Zip":60601}} + REST to SOAP test failed. diff --git a/samples/XMLToJSONTransformation/src/test/wso2mi/ScienceLabAPITest.xml b/samples/XMLToJSONTransformation/src/test/wso2mi/ScienceLabAPITest.xml index bfa0f5d8e6..1499539df7 100644 --- a/samples/XMLToJSONTransformation/src/test/wso2mi/ScienceLabAPITest.xml +++ b/samples/XMLToJSONTransformation/src/test/wso2mi/ScienceLabAPITest.xml @@ -14,12 +14,12 @@ /users POST - <user><name>Sam</name><job>Scientist</job></user> + SamScientist]]> $body - <response><status>successful</status><id>454</id><name>Sam</name><job>Scientist</job><createdAt>2019-09-26T18:45:30.501Z</createdAt></response> + successful454SamScientist2019-09-26T18:45:30.501Z]]> Xml to json test case failed.