ContributionsMost RecentMost LikesSolutionsRe: 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'] Property 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 . Re: Auto Token Generation for OAuth2.0 i get the below error when i try it for one ERROR:java.lang.NullPointerException: Cannot get property 'accessTokenStatus' on null object Summary 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 , Thanks Re: Auto Token Generation for OAuth2.0 New2API Ideally if your script works at test step level , It must work for me as well. Let me give it a try. Auto 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 30mins Re: Structured logging of the results using EventHandler LexiAQA Your code works like a charm. I had to make a small change to add time in the folder name. Re: Structured logging of the results using EventHandler Thanks LexiAQA . i will try it out , appreciate your quick help. nmrao I am attaching the as is results folder screen-print. Due to customer restrictions i had to mask few areas. Re: Structured logging of the results using EventHandler Hi nmrao , 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() Structured 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. Solved