ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 230 - MCD - Level 1 discussion

Report
Export

Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.

During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.

What attribute you would change in ClientRequestFlow to make this implementation work successfully?

A.
Change the method attribute value to '*''
Answers
A.
Change the method attribute value to '*''
B.
Change the path attribute value to '/api/ship'
Answers
B.
Change the path attribute value to '/api/ship'
C.
Change the allowed method attributes value to 'POST'
Answers
C.
Change the allowed method attributes value to 'POST'
D.
Change the protocol attribute value to 'HTTPS'
Answers
D.
Change the protocol attribute value to 'HTTPS'
Suggested answer: C

Explanation:

Correct answer is Change the method attributes value to 'POST'.

It can be fixed in either of the two ways as below.

1) Changing method attribute to POST in ClientRequestFlow

2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions about changing ClientRequestFlow)

asked 18/09/2024
Musoke Kamuzze
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first