Forum Discussion
Hi Rao,
1) Yes, STEP1.RESPONSE can be fixed for any request.
2) Since I am using file, For second time, I use different initial file so that different account numbers which can be used again.
When I use 5 values in STEP1.REQUEST, I agree same should populate in STEP2.RESPONSE. But only 3 values I mentioned will be used back when we filter. So only 3 Values are enough.
I am only mocking here, not any dev work.
Since only X is set in global property, one and Only X cn be used in both Request.
I wanted to avoid jdbc here, as account numbers we get dynamically. Also I have updated the attached file again by adding STEP0.REQUEST and STEP0.RESPONSE.
FYI, we invoke STEP0.REQUEST and STEP2.REQUEST with same URL (same Operation). So I wanted to take the response from file and set account numbers back to file and then use again after filtering. Here is the summary of my flow again and remember that all 3 steps are not sequential.
1)Invoke STEP0.REQUEST with mode as SUBMITTEDORCORRECTED value along with ContractSolutionNumber set globally (ex SOL1234)
2) I need to get STEP0.RESPONSE present in file names SOL1234.xml
3) Above steps then invokes many transactions and we get account numbers that are invoked by STEP1.REQUEST. This request also has SOL1234 value
4)Get a fixed STEP1.RESPONSE back, so that our code assume it success and invokes further transactions.
5)Invoke STEP2.REQUEST with mode as LITE value along with globally set ContractSolutionNumber value with same URL of STEP0.REQUEST
6)Get Filtered STEP2.RESPONSE so that our code can use the same.
Note: I am also fine if its easy with 2 fixed responses. Say X.xml and Y.xml , where X and Y are set globally. X.xml is the initial file and after creating accounts write to Y.xml which can be used later.
Hi All, Any update on this please ?
Related Content
Recent Discussions
- 19 hours agoruchisingh