Interface Test Tool essay 20150923

Source: Internet
Author: User

Recently done the project has an interface test, do now have a lot of thoughts, is just beginning to do this kind of test, in the exploration, first said I selected the tool of the project, all the way over to choose a lot of tools, in each stage I am looking to meet my requirements can be, fit is the best, you say ...

1, Apachebench

This tool was recommended to me at the outset, and it took me two nights to experience the basic requirements of the project. Ready to use it for testing, this tool is relatively simple, input commands can be done interface performance test, pretty good;

2, Fiddler

With the project, the interface test slowly have some understanding, found that fiddler more suitable for my project, and I am more familiar with it can directly simulate the request, modify the request, view the results, but also to look after the request and response, in addition to the development is also commonly used this, Such a bug and development communication is very convenient to reproduce, but also to make development, who said the test does not understand the code and other things;

3, SoapUI

Considering the need to test, regression testing, want to make automation, Baidu, Soapui is also good, hurriedly understand, will my interface use case transfer to SOAPUI, and can realize the assertion, greatly reduce my comparative results of the work, but also pretty good, and also support the performance test interface, I like;

4, JMeter

I know that jmeter can also do interface testing, but his support for Chinese, more cumbersome, garbled problems, he has not done;

5, HttpClient

Often the project does not want to be so smooth, our interface data are encrypted, the data returned is also encrypted, so that we can not identify and verify with the previous tools, this time I saw the httpclient, write their own code, the prepared data encryption, and then send the request, the results of the return to decrypt, Decryption and expected results comparison, output, so solve my problem, and realize the automation, feel pretty good, basically solved my interface test amount problem, and by the way let me start to write Java code, pretty happy, this piece is not deep, study and then share with you;

Interface Test Tool essay 20150923

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.