Running the same test case in Test Complete Multiple Times
I have a couple of test cases that I am generating for a Website and I need to set up several of the cases so that they will run multiple times during my testing of the product. I want be able to add to 20 new records and then update them as we are going.4KViews0likes27CommentsMissingMethodException: No signature of method
RE: MissingMethodException: No signature of method Error on LINE 5 I'm trying to increment a param in the xml payload" ReferenceID, and getting the above-mentioned error: I changed the "setPropertyMethod" to "getPropertyMethod" and the error changed to "groovy.lang.MissingPropertyException: No such property: ReferenceID Again, I'm trying to increment the parameter, so the SET method makes sense to me def ReferenceID = context.expand ('${#TestCase#ReferenceID}'); ReferenceID = ReferenceID.toInteger() + 1; if (ReferenceID < 990000) { testRunner.testCase.setPropertyValue('${TestCase#ReferenceID}'); //LINE 5 Error log.infor "ReferenceID" + ReferenceID; testRunner.gotoStepByName("ReferenceID") } Any idears? Thanks, wiseAcre3.1KViews0likes13CommentsError handling Test Case Execution
Hi, I am new to this tools , and try to understand about how to do performance test in ReadyAPI My question is, when the test case executed , and there is an error occur, the test stopped and never continue to the next row of Data Source I have checked the option from "Set Options for this Test Case" and uncheck "Abort Test if and error occurs" Is there any setup i have miss ?Solved2.4KViews0likes7CommentsHelp: 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.7KViews0likes7CommentsSet custom names in Data Generator
Hello, we are using the DataSource Test Step as a DataGenerator, to create random names (Property Type: Custom String, Value: %NAME(Any, FirstName)). Is it possible to somehow add names or replace the names generated? Thanks in advance, Kostas1.5KViews0likes5CommentsTest Step Count assertion in performance test
I would like to have an assertion that will fail the test if the specified test step count is not reached. How can I do this? I am not seeing an option for this under Assertions but I don't necessarily think that would be the right place anyway because this assertion would be done at the conclusion of test execution, not during. Would it need to be done using a tear down script?Solved1.5KViews0likes5Comments3.44 issue with java.net.SocketTimeoutException: Read timed out
test step is failing due to "java.net.SocketTimeoutException: Read timed out", we tried increasing the socket timeout but it is still failing after the default 1 minute time. this project and test step is working fine when using 3.41 readyapi version but same test is failing in 3.44 and the latest 3.45 versions. please let us know what need to be done here as this impacting our regression testsSolved1.4KViews1like2CommentsHow to create variables at the test suite level while creating load test.
We need help to understand how to create variables at the test suite level while creating load test. For example, Please refer to the below steps: Perform ‘GET Test step’ at one test case where parameters for GET step are available at same test case another step. Perform ‘Delete Test step’ at another test case where resources for DELETE is ‘ID’ test property from STEP 1 ‘GET Test step’ JSON Response. We are usingthe ‘get data’ functionality of READYAPI which works correctly in the case of functional testing. But seems it does not work in load testing as intended and gives anerror. Because it keeps on referring to ‘ID’ created in functional test. We need to have ‘ID’ created dynamically to work the Load test correctly. Please refer below details : ID parameter created using get data : Variable from one case to another for ID: “${#[Positive Scenarios_7.0_2022#Master Schedule#HTTP Request Section GETPATTERN_copy]#ResponseAsXml#//Response[1]/e[1]/id[1]}” Variable within same case for ID: “${HTTP Request Section-GETPATTERN_copy#ResponseAsXml#//Response[1]/e[1]/id[1]}” I have tried using setPropertyValue along with groovy script which also works for functional test but failed to load with the same error. Please refer toattached my groovy script which gets executed before the delete action. It gets value from previous test case and stores the value to property “SectionID” at the Delete test case level (Delete Master Schedule as per below screenshot).While running delete action, it refers this “SectionID”. Can anyone try our scenario with any open API (e.g. Post & get in one test case and delete from another test case) at readyapi load and share results?1.3KViews0likes2Comments