Build: #94 failed
Job: Default Job failed
Should fail if the response status code is not200: Test case result
The below summarizes the result of the test "Should fail if the response status code is not200" in build 94 of openmrs-eip - openmrs-eip - Default Job.
- Description
- Should fail if the response status code is not200
- Test class
- org.openmrs.eip.camel.route.OauthRouteTest
- Method
- shouldFailIfTheResponseStatusCodeIsNot200
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route get-entity-by-uuid-from-openmrs at: >>> Choice[[When[simple{${body} == null} -> [SetBody[simple{{{openmrs.username}}:{{openmrs.password}}}], Marshal[org.apache.camel.model.dataformat.Base64DataFormat@1a2d9177], SetHeader[Authorization, simple{Basic ${body}}]]]] Otherwise[[SetHeader[Authorization, simple{${body}}]]]] <<< in route: Route(get-entity-by-uuid-from-openmrs)[From[direct:get-entit... because of Property with key [openmrs.username] not found in properties from text: {{openmrs.username}}:{{openmrs.password}} Caused by: java.lang.IllegalArgumentException: Property with key [openmrs.username] not found in properties from text: {{openmrs.username}}:{{openmrs.password}}