当前位置:网站首页>Postman association to complete interface automation test
Postman association to complete interface automation test
2022-06-21 17:54:00 【cae_ 520_ ww】
Create two basic interfaces , One generates the request parameters of another , for example : Create the generated by the active interface ID, Request parameters to be used to withdraw approval activities , How to achieve , We all know the connection ,postman How to do Association
jmeter The created parameters should be placed in the request header or public parameter list , So that other interfaces can reference , that postman Some differences , But the difference is not great ,postman Is to store parameters in global variables , Here's the picture :

(1) In the request to create parameters test plate , Write and set parameter names , Function to get parameter value ,data Is the value of the parameter we want in the response body


// Get parameters and write them to global variables
var result = JSON.parse(responseBody);
postman.setEnvironmentVariable("activity_ID", result.data);(2) After execution , View environment variables , Parameters and parameter values are automatically generated

(3) Go to the interface where we want to reference parameters , Just quote

comprehensive , It's done. postman The associated function of , With some automation , Click on runner Get into A new popup page , Select the corresponding file directory , Relevant configuration can complete


Then we'll talk about it in detail next time , But first, let me say , Pressure measurement and automation can be done here
边栏推荐
- 一招教你通过焱融 SaaS 数据服务平台+ELK 让日志帮你做决策
- ViT杀疯了,10+视觉Transformer模型详解
- Live broadcast platform development, live broadcast of each category and single example design display
- C语言dll动态链接库
- Application architecture principles
- 超分之RLSP
- shamir
- 堆栈认知——逆向IDA工具的基本使用
- 大型网站技术架构 | 应用服务器安全防御
- Yrcloudfile of Yanrong technology has completed the compatibility certification with ANTP to jointly create a new blueprint for storage
猜你喜欢

主动学习(Active Learning) 概述、策略和不确定性度量

润迈德医疗通过上市聆讯:预计亏损将增加,霍云飞兄弟持股约33%

STM32F1与STM32CubeIDE编程实例-线性霍尔效应传感器驱动

Redis6.0 new features (Part 1)

Class, interface, function

Viewing technological changes through Huawei Corps (IV): interactive media (Music)

Compose programming idea

PTA l3-031 thousand hand Guanyin (30 points)
![[technical management] assembly number and sword team](/img/80/4b39d98c7b51c6c50a4cd5f0a38370.jpg)
[technical management] assembly number and sword team

Reids面试题集合 数据结构+穿透雪崩+持久化+内存淘汰策略+数据库双写+哨兵
随机推荐
[real topic of the Blue Bridge Cup provincial tournament 35] scratch water reflection children's programming scratch programming explanation of the real topic of the Blue Bridge Cup provincial tournam
Redis6.0 new features (Part 1)
PTA L3-032 关于深度优先搜索和逆序对的题应该不会很难吧这件事 (30 分)
Differences between fragmentstatepageradapter and fragmentpageradapter
National administrative division
Simulation of vector
How many items should the indoor intumescent fire retardant coating meet according to BS 476-21 fire resistance standard?
Stack awareness - stack overflow instance (ret2text)
Two understandings of Bayes formula
My gadget - card learning app is complete
FragmentStatePagerAdapter 与FragmentPagerAdapter的区别
[dataset] |bigdetection
list的使用
神经网络七十年:回顾与展望
Differences between WCDMA and LTE
C语言与Lua的交互(实践二)
Live broadcast platform development, live broadcast of each category and single example design display
EtherCAT igh主站控制埃斯顿伺服回零
论文笔记 ACL 2022|Unified Structure Generation for Universal Information Extraction
火山引擎+焱融 YRCloudFile,驱动数据存储新增长