Re: Generating Time Out case
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Generating Time Out case
I am using MerchantPushPayment API, I want to generate a case of timeout in which Visa will respond with 202 and statusIdentifier, so that I can use GET API to get the status of the transaction, is there a possibility to test it here ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Generating Time Out case
Hello @saadsiddiqui,
I am working on the inquiry, i will get back to you soon.
Thank you,
Vaibhav
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Generating Time Out case
HTTP HEADER VARIABLE |
DESCRIPTION |
X-Transaction-Timeout-MS |
This is an optional variable. |
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Generating Time Out case
it's miles feasible to finish such challenge using an execution extension. The idea right here is to apply a timer this is started out before each test execution and if the time restriction isn't hit - to be restarted after the check. If the time restriction is hit - related to the check methods are killed and the execution retain with the following test. try to create such extension and to modify the code attached here to your case.
since you are using as CI - Jenkins and walking your check in command line - to preserve the consequences a prior to the check that is failing using an ArtOfTest.Runner alternative persistOnEachStep="authentic".
allow me know whether the proposed answer helps.