“I’m still worried about how to share data between interface testing tools instead of writing the interface again.
”
Preface
The previous interface tests used postman, and will be adjusted to Talend Api Tester recently.
So there is a big problem. All interface information is on postman, how to import it into alend Api.
Following this question, let’s discover a new world in testing tools.
1. Start from the beginning
Since you want to have a new understanding of testing tools, you should start from the beginning .
For the convenience of testing, Kaka first creates a collection as A
and then adds a new request to collection A. , the picture below is the picture of successful addition
A big disadvantage of such a request is that when the domain name changes, all interfaces in this set need to modify the request domain name.
Postman has already prepared for this demand.
After the addition is successful, you can see the environment variables just added here
Then change the domain name just requested to {{host}}
. You can still get the data by sending the request.
After completing the above operations, we have almost created a complete collection. Next, we will Need to get back to the point.
Continue to convert interface data to each other mentioned at the beginning of the article.
2. Postman and Postman exchange data
In fact, there are several ways to import data into each other in Postman .
Here Kaka will introduce two methods to you, the first is to share the link, and the second is to export it as a json file.
Both methods can import interface data into another postman.
You can also import data into other interface testing tools that support Postman Collection
.
First of all, let’s talk about how postman works together and uses shared links.
Assume that Xiao Q has finished writing part of the interface data and has already written it in postman. Debugged.
Unfortunately, some adjustments need to be made due to work reasons, so Xiao Q needs to give the written interface data to the recipient.
The most direct way at this time is for Xiao Q to give his postman account to the person who takes over, but this is not very realistic!
So Xiao Q was wondering if there was a way to solve this problem.
In fact, postman has already had this function in this situation, but in the usual development process, it only focuses on its own one-third of the land.
As long as the interface I debug can run smoothly, you can use the other functions as awesome as you like.
When you right-click a collection, you will find that the shared collection is in the column
Then click to get the public Link
When you click Get public link, a link address will appear
After obtaining this link address, you can send this address to your friends, and then your friends can take it Copy this address directly to this collection in your own postman
Then you can put the address you just copied here. That’s it
Since Kaka directly imported it in its own postman, it will appear that the collection already exists, or Select Replace, or select a copy
Above It’s about the data exchange between postman and postman.
##3. Postman and Talend Api exchange data
First of all, you need to install the Talend Api extension. Because of this The extension is downloaded from Google Play Store. Then there must be some people who can’t download it. Everyone who understands understands it, but just skip it if they don’t.Kaka gives you an address where you can download the Google plug-in offlinecrxdl.com
Talend Api extension.
Then click export directly! Then try to import the exported file to Talend Api
.
At this point you can see the collection and method we just created in Postman in Talend Api
.
But you will find that the request at this time is blocked. That is because Talend Api
still has not been recognized. If you set the environment variable in Postmanhost
, then you need to set the environment variable of host in Talend Api
. Copy the value just set in Postman. come over.
Then initiate the request, and you will see that it has been returned successfully
4. Summary
The main introduction of this article Enables data exchange between Postman and Postman, and between Postman and Talend Api.
I have never used other interface testing tools Kaka. Most of them should support such operations. If you ask more questions during use, you will find a lot of new things.
If you cannot use this function temporarily, then first know that this thing exists. If you need it later, at least have this impression in your mind and know that such a thing exists.
Instead of picking up the keyboard and just doing it, it is a waste of time and energy, and may make mistakes.
“Persistence in learning, persistence in blogging, and persistence in sharing are the beliefs that Kaka has always upheld since his career. I hope that Kaka’s articles in the huge Internet can bring you a little Silk help. My name is Kaka, see you next time.
”
The above is the detailed content of Postman interface debugging tool shares data. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
