@@ -97,31 +97,30 @@ Add in [plan.json]:
9797 "method" : " post" ,
9898 "url" : " https://sample.com/api-sample" ,
9999 "auth" : {
100- "user " : " @GV(MY_USER_AUTH)" ,
101- "pass " : " @GV(MY_PASS_AUTH)"
100+ "username " : " @GV(MY_USER_AUTH)" ,
101+ "password " : " @GV(MY_PASS_AUTH)"
102102 },
103103 "data" : " @GV(SAMPLE_BODY)"
104104}
105105```
106106
107107### Pagination:
108108
109- It is possible to make calls to APIs that return ` JSON ` data that requires paging.
110- The parameters available for paging are:
111-
112- ```
113- start - page from which the query is initiated, by default 1
114- limit - maximum elements per page
115- pages - total pages to consult
116- total - total items for automatic page calculation
117- total_from_header - header from which to get the total of items for automatic page calculation
118- total_from_response - params path of the response data from which to get the total of items for automatic page calculation
119- next_page_url_from_response - params path of the response data from which to get the url for the next page
120- token.query_param_name - name of parameter to send in url query with token of next page
121- token.data_param_name - name of the parameter to be sent in the body with the token of next page
122- token.next_token_from_response - params path of the response data from which to get the next page token
123- token.next_token_from_header - params path of the header data from which to get the next page token
124- ```
109+ It is possible to make calls to APIs that return ` JSON ` data that requires paging. The parameters available for paging are.
110+
111+ | Parameter | Description |
112+ | ------------------------------ | ---------------------------------------------------------------------------------------------------- |
113+ | start | page from which the query is initiated, by default 1 |
114+ | limit | maximum elements per page |
115+ | pages | total pages to consult |
116+ | total | total items for automatic page calculation |
117+ | total_from_header | header from which to get the total of items for automatic page calculation |
118+ | total_from_response | params path of the response data from which to get the total of items for automatic page calculation |
119+ | next_page_url_from_response | params path of the response data from which to get the url for the next page |
120+ | token.query_param_name | name of parameter to send in url query with token of next page |
121+ | token.data_param_name | name of the parameter to be sent in the body with the token of next page |
122+ | token.next_token_from_response | params path of the response data from which to get the next page token |
123+ | token.next_token_from_header | params path of the header data from which to get the next page token |
125124
126125Some paginations examples:
127126
0 commit comments