test: postman测试文件
This commit is contained in:
@@ -628,8 +628,8 @@
|
|||||||
{
|
{
|
||||||
"listen": "test",
|
"listen": "test",
|
||||||
"script": {
|
"script": {
|
||||||
"type": "text/javascript",
|
"type": "text/javascript",
|
||||||
"exec": [
|
"exec": [
|
||||||
"let json = {};",
|
"let json = {};",
|
||||||
"try { json = pm.response.json(); } catch (e) {}",
|
"try { json = pm.response.json(); } catch (e) {}",
|
||||||
"if (json && typeof json.next_likes_count_before !== \"undefined\") pm.collectionVariables.set(\"feedLikesCountBefore\", String(json.next_likes_count_before));",
|
"if (json && typeof json.next_likes_count_before !== \"undefined\") pm.collectionVariables.set(\"feedLikesCountBefore\", String(json.next_likes_count_before));",
|
||||||
|
|||||||
Reference in New Issue
Block a user