-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmockapi_rule.txt
7 lines (7 loc) · 4.75 KB
/
mockapi_rule.txt
1
2
3
4
5
6
7
{ "_id" : { "$oid" : "5627b31cb4b17d201700002a" }, "url" : "/testin", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DA", "logicType" : "AND", "expressions" : [ { "left" : { "value" : "MSIE", "isVariable" : 0 }, "right" : { "contextType" : "request", "value" : "agent", "isVariable" : 1 }, "operator" : "IN" } ], "res" : "IN" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DB", "logicType" : "AND", "expressions" : [ { "left" : { "value" : "Chrome", "isVariable" : 0 }, "right" : { "contextType" : "request", "value" : "agent", "isVariable" : 1 }, "operator" : "!IN" } ], "res" : "!IN" } ], "group" : "rd", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : "a" }
{ "_id" : { "$oid" : "5627b36cb4b17d201700002b" }, "url" : "/testempty", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DM", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "o", "isVariable" : 1 }, "operator" : "EMPTY" } ], "res" : "EMPTY" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DN", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "o", "isVariable" : 1 }, "operator" : "!EMPTY" } ], "res" : "!EMPTY" } ], "group" : "rd", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : null }
{ "_id" : { "$oid" : "5627b381b4b17d201700002c" }, "url" : "/testisset", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DK", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "m", "isVariable" : 1 }, "operator" : "ISSET" } ], "res" : "ISSET" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DL", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "m", "isVariable" : 1 }, "operator" : "!ISSET" } ], "res" : "!ISSET" } ], "group" : "rd", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : null }
{ "_id" : { "$oid" : "5627b395b4b17d201700002d" }, "url" : "/testless", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DI", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "i", "isVariable" : 1 }, "right" : { "contextType" : "request", "value" : "j", "isVariable" : 1 }, "operator" : "<" } ], "res" : "<" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DJ", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "i", "isVariable" : 1 }, "right" : { "contextType" : "request", "value" : "j", "isVariable" : 1 }, "operator" : "<=" } ], "res" : "<=" } ], "group" : "rd", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : null }
{ "_id" : { "$oid" : "5627b3afb4b17d201700002e" }, "url" : "/testgrater", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DG", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "e", "isVariable" : 1 }, "right" : { "contextType" : "request", "value" : "f", "isVariable" : 1 }, "operator" : ">" } ], "res" : ">" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DH", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "e", "isVariable" : 1 }, "right" : { "contextType" : "request", "value" : "f", "isVariable" : 1 }, "operator" : ">=" } ], "res" : ">=" } ], "group" : "rd", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : null }
{ "_id" : { "$oid" : "5627b3c4b4b17d201700002f" }, "url" : "/testequals", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DE", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "a", "isVariable" : 1 }, "right" : { "contextType" : "request", "value" : "b", "isVariable" : 1 }, "operator" : "==" } ], "res" : "==" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DF", "logicType" : "AND", "expressions" : [ { "left" : { "contextType" : "request", "value" : "a", "isVariable" : 1 }, "right" : { "contextType" : "request", "value" : "b", "isVariable" : 1 }, "operator" : "!=" } ], "res" : "!=" } ], "group" : "rd", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : null }
{ "_id" : { "$oid" : "5627b3d6b4b17d2017000030" }, "url" : "/testcontain", "conditions" : [ { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DC", "logicType" : "AND", "expressions" : [ { "right" : { "value" : "Firefox", "isVariable" : 0 }, "left" : { "contextType" : "request", "value" : "agent", "isVariable" : 1 }, "operator" : "CONTAIN" } ], "res" : "CONTAIN" }, { "condId" : "6B2EC1C6-9960-4357-9707-8F99DB70C3DD", "logicType" : "AND", "expressions" : [ { "right" : { "value" : "Firefox", "isVariable" : 0 }, "left" : { "contextType" : "request", "value" : "agent", "isVariable" : 1 }, "operator" : "!CONTAIN" } ], "res" : "!CONTAIN" } ], "group" : "qa", "res" : { "errno" : "0", "data" : { "name" : "hehe" } }, "tag" : null }