Contributions
Can we generate oauth header in REST test request itself ?
Hi, I am testing the REST webservice methods wrapped with oath 1.0 authentication using Soapui4.0. In order to invoke the REST method successfully, we need to generate the Authorization header Step 1: Using Key/Secret variables, generate Signature and append to Authorization header. (Using groovy/java) Step 2 : REST method call by adding the "Authorization" header in the REST request step Since there are 2 steps to complete the successfull REST method call, I am facing problem while load testing the REST services using loadui2.0 with higher loads. Some of the requests are failing because the oauth header generated based on the time stamp and if the header is used to invoke the method after 5 minutes it will fail. Now I want to integrate the two steps, so that generation of header can be done in the REST request itself. Is there any "Script" kind tab included in the REST request step (as if there is "Setup Script" tab for test case and test suite) so that header generation and method invokation can be done in single step? or is there any other way to solve the problem ? Thanks Phani1.5KViews0likes1CommentRe: Testing REST services with authentication from SOAPUI Pro
Hi Guys, Sorry for the late reply. If the REST services are wrapped with oauth1.0 authentication. We need to generate the Authorization header with the help of Key/Secret values, as descrived in the below article. http://xebee.xebia.in/2011/03/31/test-o ... ng-soapui/ After generating the authorization header, include the variable as "Authorization" in the REST request test step, then the REST method can be invoked successfully. Thanks Phani2.3KViews0likes0CommentsFixed Load generator not stopping the load generation
Hi, I am testing the REST Services using the Fixed Load generator for load generation. I am having a time limit of 15 mins of load test, it was supposed to stop the load generation after 15 mins and finish the running requests but it is not doing it. In loadui 2.0 beta 1 version it was working fine. I have tried both on beta 2 and main release 2.0 version also but the same issue, if I try to stop it manually then loadUI is hanged. And another issue, I have tried to generate load of 1500 concurrent user but its not attained the load of 1500 user running. I have set the ConcurrentSamples option in advanced settings of soapui runner to "1500" also. I have attached the screenshot. Thanks Phani13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes4Comments- 13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0Comments