Contributions
How to change the "Resource" path for a Cloned Test Suite
So, I currently have several Test Suites pointed to a Resource path that ends in/v1/Transactions. I now have to create new test suites that provide all the same test cases but instead of pointing to the resource of/v1/Transactions, they need to point to/v1/TransactionsValidation So, I cloned one of the Test Suites that has a test step which points tothe resource of/v1/Transactions. All input parameters will remain the same, but I can't see a way to change just the Resource path to/v1/TransactionsValidation These are POSTS to a Rest serviceSolved3 years agoPlace ReadyAPI QuestionsReadyAPI Questions750Views0likes1CommentRe: How to 'GetData' from an xsd:string
Wait, I found it. I needed to go up a higher level to the Test Case rather than the Test Step. It worked the first time I did it, however, it seems that SampleXML and GUID Custom Test Case Property values are being retained and when I run the test case the second time it fails as the old APIKey from the first test run is not being refreshed with the new one. Each iteration for AddAPIKey generates a new guid. Is there a way to have those twoCustom Test Case Property values refresh with the new values each time?4 years agoPlace ReadyAPI QuestionsReadyAPI Questions766Views0likes1CommentRe: How to 'GetData' from an xsd:string
So, I tried to do it like you did it, however, in the Property Transfer, I don't see what you see. When I select the test step for the Property Transfer, then select the test step for AddUserAPIKey from the Source drop-menu, I don't have the selection of SampleXML in the Property drop-menu. See screenshots. Thank you so much for helping me with this!4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes2CommentsRe: How to 'GetData' from an xsd:string
troyyerJP, I tried using the Property Transfer as outlined in the first solution. I am at least able to get the data transfered to the next test step in the UserAPIKey* field, however, it's giving me the entire "AddUserAPIKeyResult" in the field and I don't have a way to just pass the guid value rather than the whole xml value (see screenshot). I then tried you second solution but failed spectacularly as it was outside my wheel house and I'm not quite that advanced with ReadyAPI. Is there a way for me to just get that guid value?4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes4Comments- 4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes5Comments
How to 'GetData' from an xsd:string
I am perplexed. I have a test case that generates a new and unique UserAPIKey for each iteration. I then have a test case following where I need to get that unique guid (as shown below) and pass it to a delete method to remove it. However, I can't for the life of me figure out how to grab just that guid and use it in the next test case. Can anyone offer advice? I am using ReadyAPI 3.5.0 with a Soap Web Service. Many thanks! <NewDataSet> <UserAPIKey> <UserID>37</UserID> <UserName>cbyler</UserName> <FullName>Cherice Byler</FullName> <UserAPIKey>68c4570c-b184-4865-871d-45ec083f9511</UserAPIKey> </UserAPIKey> </NewDataSet>Solved4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes11CommentsRe: Java code snippet no longer working to create dates in 3.3.2, worked fine in 3.3.1 and prior builds
The custom property worked perfectly! Let me ask one more thing. With the old java, I could modify the dates such as: Same Day ${=import javax.xml.datatype.DatatypeFactory; def cal = Calendar.instance;cal.getTime().format("MM/dd/yyyy")} Future Date ${=import javax.xml.datatype.DatatypeFactory; def cal = Calendar.instance;cal.add(Calendar.DATE, 1000);cal.getTime().format("MM/dd/yyyy")} Is that possible using the SimpleDate snippets?4 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes2Comments