标签: api postman-collection-runner postman-testcase
我必须为以下请求编写邮递员测试。
发布 {{url}}/{{version}}/Customers 将返回包含 customerId 的客户对象
获取 {{url}}/{{version}}/Customers/{{customerId}}
所以我需要按照上面的顺序运行两个请求
因此,当创建客户时,然后分配 {{customerId}} 以便 Get 请求将返回新的客户 ID。
是否可以将结果(customerId)发布请求链接到获取请求