How To Shorten the Length of a String Parameter
Hi, Everybody!... I wish to load test a SOAP web service. One of the parameters needs to be unique for each invocation. I am presently using${=java.util.UUID.randomUUID()}. Lamentably, I am getting the following error:String '<some UUID string>' is too long (length: 36, maximum allowed: 35). How can I shorten the length of the parameter? Please advise.Solved2.6KViews0likes13CommentsLoadUI Results with Data Driven Tests Questions
Hi, I am currently using SoapUI NG Pro and LoadUI (not Pro) through Ready! API 1.1.0. I have setup a very simple data driven test that calls a service repeatedly with different values (read from an Excel file). In order to see how it works, I ran the test as a Simple Strategy with 1 Thread and a Limit of 1 Total Run. The results shownon the Test Step calling the web service as: Count = 71 (this is the correct # of rows in my input file) Min = 43 Max = 43 Avg = 43.19 Last = 43 The results returned on the overall Test Case was: Count = 1 Min = 3099 (this appears to be the total time it took the thread to complete all 71 runs + the 46ms it took to load the data source) Max = 3099 Avg = 3099 Last = 3099 It appears to me that the timing (min & max) results for the Test Step are displaying as the average time of all of the runs in that thread. For example, if I had only 2 runs of the test steps in that data driven test with the times of 10ms and 400ms, the min and max would show as 205ms. Questions: Is my observation correct that each thread only reports an average result of the test step runs? Is it possible to have the data driven results more accurately represented (maybe I don't have an appropriate option selected)? Instead of my example where 205ms was displayed in both min & max, could it show 10ms for min and 400ms for max?2.3KViews0likes2CommentsHow to loop through results of individual test cases and recover testCase details
Hello everyone, This will be my first post in the comunity and I've got to warn you, it's gonna be very oldscool So here it goes. I recently "inherited an old SoapUI project which I am currently running in ReadyAPI and which need to modify. I have a report generating script which is called from the teardown script of the other test cases via the following code: testRunner.testCase.testSuite.project.testSuites["Library"].testCases["Reporting_Utility"]. testSteps["GenerateCSVReport"].run(testRunner, context); On the other side, the report generate script is iterating through the test step results like so: for(testCaseResult in runner.results()) { def testSuite = testRunner.testCase.testSuite.name; def testCase = testCaseResult.testCase.name //testRunner.testCase.name; def testStep = stepResult.getTestStep(); def testStepName = testStep.name reportFile.append('"' + testSuite + '",'); reportFile.append('"' + testCase + '",'); reportFile.append('"' + testStepName + '",'); reportFile.append('"' + status + '",' + "\n"); } How can I loop through the results at test case level instead of the test step level? I only need the overall fail/pass of each testcase.name + testsuite + status Any help would be greatly appreciated2.2KViews0likes9Commentsjava.net.ConnectException: Connection timed out: connect
ERROR: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: xxxxx.xxx.xxx, 25; timeout -1; nested exception is: java.net.ConnectException: Connection timed out: connect Facing above exception while sending mail through adding Send Mail step for test case. Mail is not getting triggered after test step pass of fail. Kindly help to resolve this issue.2.2KViews0likes3CommentsExtracting response from Kafka Connection step
How to extract a response from successfully passed Kafka Connection step? Step passes and I can see response through GUI. GUI has metaData and Data tabs and actual Kafka messages. Assertions using JSONPath are executed correctly. What I want now is to extract those response values. Tried few ways, none work. 1) Using property transfer TestStep: After selecting "Source:" with Kafka step, the "Property:" drop-down selection is disabled. 2) Using script assertion: messageExchange object which should be available is null:log.info(messageExchange) -> Thu Sep 16:50:54 CEST 2021: INFO: null 3) Using Groovy script test step in step after Kafka connection: script similar to one from other question def prevStep = testRunner.testCase.getTestStepAt(context.currentStepIndex - 1) String responsLocator ='${' + prevStep.name + '#Response}' def response = context.expand(responsLocator) log.info(response) logs empty string. No other field of prevStep is useful or available. Thanks on help 😄2KViews0likes8CommentsHow do you specify color for each statistic
How do you specifiy the color for each graph on statistic tab? I was looking in the feature request page and they said this has already been added to LoadUI. https://community.smartbear.com/t5/ReadyAPI-Feature-Requests/Specify-the-color-for-each-selected-statistic-in-a-LoadUI-NG/idi-p/99349Solved1.7KViews0likes1Comment[BUG/Limitation]: Use wildcard in JSONPath expression Expected Result not working?
Hi there, As shown in the picture, I want to check one property of my selected nested JSON object is a number. It can be any number just not null, so I would like to use wildcard in the JSONPath Match Assertion. However, it still tries to assert "*" as a character. I'm on ReadyAPI 3.20.0. Wondering is this a bug?1.7KViews0likes5CommentsFREE TRAINING - ReadyAPI 101 on 10/9/18!
Hello everyone! Join us for our free monthly ReadyAPI 101 virtual trainings, where we cover how to get started within the ReadyAPI suite. Hope you can join us! We are offering it in 3 different timezones: APAC - 2-3:30pm AEST -->https://smartbear.zoom.us/webinar/register/6715366041575/WN_rpvoidt3S6KS3d8LR_ljIQ EMEA - 9-10:30am GMT -->https://smartbear.zoom.us/webinar/register/1515366050327/WN_Po0HVSavRE6ivK2CX6y3Gw US - 11am-12:30pm ET -->https://smartbear.zoom.us/webinar/register/3715366054473/WN_4HeZYtnBTSCEkTQnLTH1JQ Here is the agenda: SoapUI Pro Importing Your APIs Project Structure / Parameterization Building a Test Case Validation Data Driven Testing Reporting Automation LoadUI Pro How to get started Main Features - Scan Templates, Validations, Transactions, Reporting ServiceV Pro How to get started Your First Virts Re-use Projects Behavior Tab Virtual Server1.7KViews0likes0CommentsHelp: Load Testing - Unable to see the log of failed test step
Hi team, I was running load testing for my endpoints. When I have VUs increased, I noticed there are a bunch of errors, but the transaction error log shows empty on Request & Response which makes the debug very difficult. I am not sure if this is my server error or ReadyAPI's problem(running on a local laptop). The transaction log panel looks like this: Error in the performance log: I have configured by following this page:https://support.smartbear.com/readyapi/faq/why-do-i-get-empty-requests-and-responses-in-the-t/ but still not working... Could you please give some advice? This is an quite urgent issue, thanks! Jess1.6KViews0likes7CommentsReadyAPI/functional test assertion don't works after awhile!
Hi I am using ReadyAPI 3.5.1 I have already defined some test suite and test cases to meet my requirements for test and controlling my API functionality , and it worked fine so i save it and in every new version of my production i try to use already save test cases. But funny thing happen! I have some simple Assertions in my test cases to control the error messages i expect. For example i am going to control error message "KEY_UNRECOGNIZED" , so i had defined an Assertion for response match content and it used to works! but when i try to run the test and control it again after a week , i see that these assertion do not correctly recognize the response error message ! (attached screen capture of it ) So as you can see i supposed to look for "KEY_UNRECOGNIZED" and in response it has "KEY_UNRECOGNIZED" and in my case it matched so it supposed to PASS , but i show FAIL ?! please note that this test step used to works fine while ago and i have done no change to it ...but it don't works correct now ?Solved1.6KViews0likes3Comments