Joke Collection Website - Mood Talk - Tell me how to conduct interface testing in my work.
Tell me how to conduct interface testing in my work.
Protocols and tools
Interface testing generally uses HTTP protocol, but there are other protocols. This paper first introduces the interface test of HTTP protocol.
What tools are used for interface testing? Usually the postman or Jmeter. This tool is actually equivalent to a client, which can simulate various HTTP requests initiated by users, send the request data to the server, get corresponding results, and verify whether the results are consistent with expectations.
What are the core steps?
1, get the interface information
1, with interface documentation, very simple, just look at it.
2. For example, some companies don't have interface documents. What should I do at this time?
You need to use the bag grabbing tool to assist yourself, that is, the bag grabbing tool: Charles or Fiddler. Get the server address, access mode of each interface, input and output parameters. At this time, you need to pay attention to some details, the specific meaning of parameters, the scope of parameters, and what the return value means. Ask development if you should. Don't be shy.
Second, business scenario analysis
Proactively understand the direction of business processes and how data flows. In order not to miss the test, write the test case or test point of the interface, and finally test the interface on the tool.
This is the way I do interface testing at present, and I hope it will help you.
- Related articles
- Sentence of saving food
- Staying up late is ten years older.
- A daily weight loss motto, a weight loss inspirational sentence, a classic sentence.
- The most expensive bracelet in the world
- I will go to that intersection every day and look forward to seeing your back again.
- My husband's second sister-in-law has been looking for a job since before she got married. My husband and I basically didn't spend money to get married, but she still found a job after marriage. With
- Find a happy person to talk to after work.
- Why did the 54 guns in founding ceremony fire 28 times?
- Get high marks in reading picture books | "Autumn Festival" Autumn is coming. Let's pick apples with Xiaomao!
- Now that you have entered the true path, it is called attaining the path. Although it is called attaining the path, you actually gain nothing. Since you have "acquired the path", why do you still say