Hot answers tagged

8

As for tutorials on SoapUI, sadly the majority of them are sub-par at best and out of date. If you want to learn SoapUI the best option is likely to jump in feet first and hit the ground running. My background is primarily API testing, with a specialty with SoapUI and Groovy, so I will try and give some hints and pointers to get you started. SoapUI's core ...


7

The answer is similar to real world examples, both Motor Cycle (2 wheeler) and Car (4 wheeler) provides approximately same speed and can carry a person from one place to another, so why two (or in actuality more than two) types of vehicles are there and that too with further classifications (different brand designing different vehicles) i.e. because each ...


6

Well, an API is such a loaded term. It can be REST, SOAP, RMI, or native C++ library API, etc., so the tooling will depend on that. Particular test scenarios will depend on that as well. For instance, for REST or SOAP over HTTP you may want to check popular HTTP-related attacks like HTTP Response Splitting, etc. You may also check if API is well-defined, e.g....


6

In general your answers were valid. But to create a better impression you could communicate the points which show you have deeper understanding of APIs and API testing. You can mention about web services, APIs REST, SOAP, WSDL, XML, JSON, different methods (POST, GET, DELETE) etc so they get the perception that you have technical understanding of these ...


5

Both fit your requirements so feel free to choose the one you like more. The only area where JMeter is better is running load tests, SoapUI has limited load testing capabilities and reporting (you have only mix, max and average response time per request) while JMeter tests can scale to run in clustered mode and you can have HTML Reporting Dashboard with a ...


4

Yes, this is typically done in a commercial context, but it does not need to be exactly as described. As you already noticed, developers should write unit tests. Those tests as you probably know only test the smallest distinguishable things in the code. Higher up there should be integration tests - either as an extension to the unit tests or maybe in the ...


4

If you do not have a lot of programming skills you can just run command line utilities like CURL. Here is the post on SO describing how to send a single SOAP request having XML file. Above example explains how to send a single request. However you have 1000 requests, hence you would need to prepare some shell script (bash or batch or powershell or something ...


4

๐Ÿ‘Pros of coding: You can easily integrate your test into CI process You can code any assertion logic you need in your tests You can utilize any library that is suitable for your chosen coding platform You can flexibly manage your test data You can build whatever test report you want ๐Ÿ‘ŽCons of coding: It requires coding skills ๐Ÿ‘...


3

Fiddler is a proxy that lets you view all network traffic, like WireShark. SoapUI is a full fledged testing tool. My recommendation is to try POSTman. It's a free API testing tool, you can save your test into collections if you need to reuse them. I use POSTman for my initial testing and then use a CSV + PowerShell (using the HttpClient from .net 4.5+) ...


3

What questions should I ask the developers so that i can proceed with automating? It depends what kind of test you want to have, if it is only end2end testing then "Base URI" should be enough for you. If you need to test more than that (e.g Tests which need mocking), you may need to have access to the project code to add your test code there. For ...


3

We use Postman for considerable basic testing during the early stages of development. We then have used Gatling (http://gatling.io/#/) to facilitate load, regression, and stress testing.


3

I accomplished a similar thing by running the SoapUI tests within the Maven Build http://www.soapui.org/test-automation/maven/maven-2-x.html one of the outputs is "junitReport : Turns on creation of JUnit-reports, (true/false)" which will then let you use any of of the million JUnit graphing tools. Hope that helps in finding your solution


3

Is the slowness on the app a result of the sum of these 3 requests: around 7000ms ~ equal 7s? (It is still way much lower than 17s on real device) Yes That is most likely the cause of your issue. The application likely catches and retries when it times out which will give you these very long times. It sounds like there is some severe issues, most likely in ...


3

Actually, I can see two questions in your post. Is it better to test SOAP Web services backed by EJB using Java or C#? Actually, Web service stack of technologies was designed to support interaction between application written in different technologies, so it does not matter how the Web service was implemented. I.e., Web service implemented in Java can by ...


3

This is what I found from the Mobilefish quick guide: The Countries web service is permanently disabled because this service is being misused.


3

Here is how I would do it. Looks like you made a trivial mistake in the xpath. Here is how the test case is defined with following test step names. Soap Request Test step named as Test Request Property Transfer Test step Second Soap Request Test step named as Test Request2 Here is how Property Transfer test step is defined. Added a property using by ...


3

Maybe just use plain JUnit tests? I think JMeter and SoapUI just add an extra layer of complexity. For example making it more complex to schedule the tests. Using JMeter and SoapUI might seem easier for less technical testers, but in my experience these tools are pretty awful in their design. Most functionality can easily be implemented with plain code. ...


3

why companies would have both API tests and web tests when this causes duplication of effort. In short, because those tests are different in nature, help discover different types of bugs and have different properties. End-to-end tests, e.g., tests operating on UI level of a Web application have two main advantages: they simulate a real user: this helps ...


2

It seems Countries WSDL path is wrong. You can try TempConvert Wsdl as an example in W3Schools Web site: http://www.w3schools.com/webservices/tempconvert.asmx?wsdl When you load the wsdl from SoapUI tool you will see 2 operations belongs to this web service: CelciusToFahrenheit FahrenheitToCelsius


2

In this situation, we are using the approach exposed by Bruce McLeod. We use a data generator to produce 4 datasets from the same configuration defined by the test case: the input data for the test (run manually or with qtp) to fill gui forms for example, the data inserted before test with soapui in the application to create the customers on which the ...


2

welcome to SQA. One thing that it looks like you are not taking into account is the network speed of the device you are testing on. If you are running load runner on a network that has high internet connection speeds, or more probably is on the same network as the service you're testing, then you will get almost no additional time due to network latency, ...


2

You can "cheat it" by using a groovy script to perform your conditional go to Assuming you put your values into properties called Properties; import com.eviware.soapui.model.testsuite.TestRunner String incrementvalue = context.expand( '${Properties#incrementvalue}' ); //convert to int as properties are strings by default int convertedincrementvalue = ...


2

You can check this great blog: http://www.softwaretestinghelp.com/web-services-api-testing-tool-soapui-tutorial-1/ Second you can check the free courses here: http://soapui-tutorial.com/


2

Runscope provides a Web UI for creating tests. There is no code to write for standard assertions. You can write more complex assertions using Javascript. It is a cloud based service, which allows tests to be run from data centers around the world, which is useful when testing response times. You can also use our local agent to test APIs that are behind ...


2

I believe for your second question you have enough and more answers so I'm not going to touch base on it. Coming to your first question, I.e what questions you need to ask, sharing some of my experience A proper API testing is possible only with adequate documentation. Not sure whether your organisation has technical writers to document the features or ...


2

Regexp is your friend matches(//ns:XPathToIt/ns:password,'\w{7,}') The \w{7,} will match a string with 7 characters. In the Expected Result put "true". SoapUI Assertions


2

Using this tip/trick you can modify the response's header. The example shows modifying the content but you should be able to get the gist. if( request.response == null ) return // get response content def content = context.httpResponse.responseContent // manipulate content content = content.replaceAll( "555", "444" ) // write it back context.httpResponse....


2

I started learning automation down the exact same route. My suggestion is to download a Java IDE and work with Groovy and Java together. Remember Java will, for the most part, work as groovy. So learning Java will help you with Groovy (And slightly vise versa). Will this lead to a career in automation? Probably not, but it's a good grasping point. Learn ...


2

We've succesfully integrated TestLink 1.9.10 with Jira in the Cloud. My configuration for the issue tracker record in TestLink is: <!-- Template jirarestInterface --> <issuetracker> <username>USER</username> <password>XXXX/password> <uribase>https...baufest.atlassian.net/browse/PROJ</uribase&...


2

I have working in a not dissimilar industry and had the following setup; TrainTestSuite (this might be per supplier/operator) -testcase->SingleBooking -testcase->ReturnBooking Both would utilize the same endpoint as the Test Suite Within each test case I would have the following; Properties (containing from and to locations) PropertyTransfer (Transfer ...


Only top voted, non community-wiki answers of a minimum length are eligible