-
Bug
-
Resolution: Done
-
Major
-
AD221 - RHF7.10-en-5-20221025
-
None
-
ILT, ROLE, VT
-
en-US (English)
URL:
Reporter RHNID:
Section: - GE: Testing Using Mock Endpoints
Language: en-US (English)||||||||
Workaround: Request students to change the endpoint to mock:http4 instead of http.
Description: 24873
Description: Step 3 mentions in the description what endpoint should be updated (correctly) but the source code does not follow it.
• HTTP endpoint: mock:http4:my-external-service/greeting.
The mock variables must look like the following:
// TODO: add @EndpointInject annotation
@EndpointInject(uri = "http mock:http4://my-external-service/greeting")
MockEndpoint httpMockEndpoint;