Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-1012

AD221-49: GE: Testing Using Mock Endpoints has typos that prevents students to finish it correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AD221 - RHF7.10-en-5-20221025
    • AD221
    • 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;

            rruizher Rafael Ruiz Hernandez (Inactive)
            rhn-gls-rtaniguchi Ricardo Taniguchi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: