When the interface tests login, it returns authentication parameters such as token, which is required when accessing other interfaces. However, token parameters are not fixed, so we need to dynamically obtain the token value.

First access the interface to get the token value

Set token1 as a global parameter, using global

Write interfaces that require token arguments

This is how to get the value of the dynamic token parameter.

The interface code for the test

Interface test tool It is recommended to use the domestic interface test and interface document generation tool APIPost