Contributions
Re: Property expansion in "JSON path match assertion"
i have attached as screenshot what i am trying to do. the property in bold in the below is generated 1 step before the step in which this assertion is applied. $[0]['Items__r']['records'][?(@._Item_Id__c=='${DataSource_CreateOrderNumbers#Points}_1']['Order_Status_Id__c']7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes1CommentProperty expansion in "JSON path match assertion"
Hi, I have a property which needs to be used as part of a JSON path in the assertion. However when i add it the property expansion does not evaluate . Some thing like below in JSON Path Match Assertion : Path : $[0]['Items__r']['records'][?(@.Id__c=='${Source_OrderNumbers#Points}_1')].Status_Id__c Expected value : [Placed]. path${Source_OrderNumbers#Points} does not evaluate in assertion to a value which was populated 2 steps before .7 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes3CommentsSummary Logging after execution
Hi, I have set of properties which gets created during my execution , Such as a employee ID after registration, Employee's Registration ID's etc etc. These are available as properties but i want these to be available in the Project report which gets generated (in the PDF) As these are generated at run time i am not able to get this in the suite properties , Thanks7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes1CommentAuto Token Generation for OAuth2.0
Hi , I have couple of application profiles something like in the attachment. Each of these are API connection profiles for different applications calling the API via a Gateway. They use OAuth 2.0 with different client credentials. In my E2E suite i use all of these profiles and i end up generating these token manually every time before i run my E2E suite . Is there an option in ReadyAPI where it it generates these tokens automatically ? Say every 30mins7 years agoPlace ReadyAPI QuestionsReadyAPI Questions8.5KViews0likes14CommentsRe: Structured logging of the results using EventHandler
ThanksLexiAQA. i will try it out , appreciate your quick help. nmraoI am attaching the as is results folder screen-print. Due to customer restrictions i had to mask few areas.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4KViews0likes0CommentsRe: Structured logging of the results using EventHandler
Hinmrao, Pardon my ignorance in the tool. Currently i have just copy pasted what was available in the link. And the code snippet is as below . filePath = 'D:/Sriraj/Results/' fos = new FileOutputStream( filePath + testStepResult.testStep.label + '.txt', true ) pw = new PrintWriter( fos ) testStepResult.writeTo( pw ) pw.close() fos.close()7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4KViews0likes1CommentStructured logging of the results using EventHandler
Hi, Please navigate to the below path section 8 Logging results https://www.soapui.org/scripting-properties/tips-tricks.html#1-4-Test-step-name The code helps in creating the request and response files for each step but all of them get created in one location/folder Can someone help me in extending this to have the Project name , Suite name and the Test case names as folders ? Something like below Parent Folder : ProjectName_CurrentTimestamp Child Folder (Inside Parent Folder) : <TestSuitename> Child Folder (Inside Test suite Folder) : <TestCaseName> Here place all the request response files Actual code from the path provided above : filePath = 'c:/users/henrik/soapUI-results/' fos = new FileOutputStream( filePath + testStepResult.testStep.label + '.txt', true ) pw = new PrintWriter( fos ) testStepResult.writeTo( pw ) pw.close() fos.close() Basically i want a structured logging of the results.Solved4KViews0likes6Comments