Contributions
- 1.2KViews0likes0Comments
Re: index Soap input line with assertion
Thanks again. Below is (part of) a pricing call for three products. My assertion's "suggested price" results are set up in this order; 03-001-00001 first, 03-001-00002 second and 03-012-00033 third. But the results come back mixed up so the assertions sometimes fail when they shouldn't because the three expected results are returned correctly - just not in the correct order in the results. <I_XX_GET_PRICE_IN_TBL> <I_XX_GET_PRICE_IN_TBL_ITEM> <I_REFERRAL_LINE_ID>2180188</I_REFERRAL_LINE_ID> <I_PATIENT_STATE>AK</I_PATIENT_STATE> <I_PATIENT_ZIP>99501</I_PATIENT_ZIP> <I_PRODUCT>03-001-00001</I_PRODUCT> <I_REQUESTED_QTY>1</I_REQUESTED_QTY> <I_REQUESTED_UOM>Each</I_REQUESTED_UOM> <I_CARRIER_ACCOUNT_NUMBER>26586</I_CARRIER_ACCOUNT_NUMBER> <I_ORDER_TYPE>P</I_ORDER_TYPE> <I_COST></I_COST> <I_DATE_OF_SERVICE>10/13/2012</I_DATE_OF_SERVICE> <I_SUGGSTD_PRICE_REQUIRED>Y</I_SUGGSTD_PRICE_REQUIRED> </I_XX_GET_PRICE_IN_TBL_ITEM> <I_XX_GET_PRICE_IN_TBL_ITEM> <I_REFERRAL_LINE_ID>2180189</I_REFERRAL_LINE_ID> <I_PATIENT_STATE>AK</I_PATIENT_STATE> <I_PATIENT_ZIP>99501</I_PATIENT_ZIP> <I_PRODUCT>03-001-00002</I_PRODUCT> <I_REQUESTED_QTY>1</I_REQUESTED_QTY> <I_REQUESTED_UOM>Each</I_REQUESTED_UOM> <I_CARRIER_ACCOUNT_NUMBER>26586</I_CARRIER_ACCOUNT_NUMBER> <I_ORDER_TYPE>P</I_ORDER_TYPE> <I_DATE_OF_SERVICE>10/13/2012</I_DATE_OF_SERVICE> <I_SUGGSTD_PRICE_REQUIRED>Y</I_SUGGSTD_PRICE_REQUIRED> </I_XX_GET_PRICE_IN_TBL_ITEM> <I_XX_GET_PRICE_IN_TBL_ITEM> <I_REFERRAL_LINE_ID>2180190</I_REFERRAL_LINE_ID> <I_PATIENT_STATE>AK</I_PATIENT_STATE> <I_PATIENT_ZIP>99501</I_PATIENT_ZIP> <I_PRODUCT>03-012-00033</I_PRODUCT> <I_REQUESTED_QTY>1</I_REQUESTED_QTY> <I_REQUESTED_UOM>Each</I_REQUESTED_UOM> <I_CARRIER_ACCOUNT_NUMBER>26586</I_CARRIER_ACCOUNT_NUMBER> <I_ORDER_TYPE>P</I_ORDER_TYPE> <I_DATE_OF_SERVICE>10/13/2012</I_DATE_OF_SERVICE> <I_SUGGSTD_PRICE_REQUIRED>Y</I_SUGGSTD_PRICE_REQUIRED> </I_XX_GET_PRICE_IN_TBL_ITEM>1.2KViews0likes0CommentsRe: index Soap input line with assertion
I am using XPath assertions. There are 3 pricing request in one call (or test). I can specify in the assertions that the correct price for the first is $34, the second is $50 and the third is $68. But Soap sometimes returns the amounts I'm expecting in another order (for some reason) and so the soap test fails. I don't know how to "tie" or index them so that this doesn't occur. Thank you again.1.2KViews0likes0CommentsRe: 'Globally" change passwords in all test cases when cloning
Saravanan, I did get the result I need. I did not follow your instructinos the first time... then I selected All Test Request and it works fine. It may not be exactly what we want but it is better than cloning and maintaning separate test scenarios. thank you1.2KViews0likes0CommentsRe: 'Globally" change passwords in all test cases when cloning
Thank you both. Saravanan, I added the endpoints, username, password and WSS-Type. I run the test suite in the Test environment and get what I expect. When I go to the service endpoints tab and select the Production environment (it becomes highlighted in blue) and run the test suite I do not get what I expect. It's returning the Test environment results. A test that should return a Prod result is still returning the Test enviroment result. Adding all the endpoints to the project request component does not change the endpoint of the individual tests. How does this work? Thank you.1.2KViews0likes0Commentsindex Soap input line with assertion
I have multi-line input (several product numbers to price) and serveral assertions (qty, uom, price, etc) for each. Sometimes Soap returns the output in a different order than I have them in the input; for example the first input line may come back as the third result line, or the second input line will come back as the first result line. The problem is my assertions are set up based on the position of the product number in the input. In other words, I'm expecting $34 in the first assertion (for the first line of the input) but $34 is returning as the third result (assertion) and some other price is returning in the first assertion. How do I index or associate the assertions with the input so this does not happen? It causes the tests to fail. Thank you.1.7KViews0likes6Comments'Globally" change passwords in all test cases when cloning
I'm working with two Oracle instances (Test and Production) and they have different passwords so I have created two Soap UI projects; Test and Production. I have a Soap test suite of 200 test cases (with many assertions) that I need to periodically clone from Test (where I make changes, additions, etc) to Prod to then run the test suite. The problem is, after cloing from Test to Prod, I have to change the password in all 200 cases to the Prod passwrod. Is there a way to automatically or 'globally' change the password for all 200 test cases to the Prod password when I clone the Test test suite to the Prod test suite? Thank you for your time and assistance.1.5KViews0likes4Comments