🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] ## 接口说明 > 扩展接口:埋点录制异步回调数据的存储接口。 > 调用方:被测系统。 ## 接口定义 ~~~[api] put:/mocklab/mappings/notify *string:url=/users/add#request.url = 异步回调的请求URL *method=POST#request.method = 异步回调的请求方法 object:headers#request.headers = 异步回调的请求头 object:body#request.body = 异步回调的请求正文 int:status=200#response.status = 异步回调的响应状态码 object:headers#response.headers = 异步回调的响应头 *object:body#response.body = 异步回调的响应正文 *string:transID=c95fb9eb40bc449c87b5cbfb5c774e79#metadata.record.transID = 事务ID(异步请求和异步回调,两次请求之间的关联ID) <<< request { "request":{ "url":"{{jsonPath request.body '$.PLAIN.REQ_BODY.SYNZ_URL'}}", "method":"POST", "headers":{ "Content-Type":"application/json" }, "body":{ "PLAIN":{ "ID":"8888", "ENCODE":"UTF-8", "MER_PRI":"", "REQ_BODY":"04CC91FB1A7E554814660FE6D182E52AF46262EFC45FBC89B99378717124AC04C019C601A77091A8CB09D3959ED36CE24C4A8991DDCA0735CE3C336BB9BABB8B12A96D79864FBBE19FC2D7C566A390A42566BBABE4CBE6B96B39E75D80B057A01D97609982CCA934F07E2580E6F85E107EE0CF9FC09BD61393AB40284FE8EC9ABC91A89AD031DA6E3F3610B63ACC2B0F9D265CC73CEF6F798A4F18CE6C9EF4D96EB4E50B63681ED8D17CDCA361C788929114F0AE4F3D72360C279E3AE3A8ED948563F3FDF786C44FF34697FB78669B11CD8AB59DE56D0937216D07F988B25CEE70A5DDA1B02B039F2569159817BA225D55E8F554ED69799F0694E620CEA23D4808BA9F6536846E6CBFCE27FF7166CD7CF79B26C29ED0BB9D68CEF316560199704D6346541B029C138C7DF8A49747D8B7ED0BE5F74F4EFB33654D602FD12468CBCA4164B57EDF56DD8C996E71EBB23275E293A71F4AC9421AB05794BDF0891323FE1D73DEE355AC4CD87087FDB63C30AEAFEE313B147EC64B264F68725631B8B576C5E867EDD6A1BD2D58803486BE00190C468F3DC27C11BBFB0D94F3247FACA90C0BD3079A3B522088772E5F6F4C2D897B5A40FBE4BC9F3DCD6E690A9D8118DB5EC5A2614469107C05C444D5D72AF6264D561333657B5C4D19B39BBFE48741B30D258496A57EAE1B11CF62CAFEA5357913CF9995EBC001164CB041146FB9184DBAD969FFCE67F26195BFE6AE", "TRANS_CODE":"addResultSynz", "TRANS_DATE":"2018-10-23", "TRANS_SEQ":"c95fb9eb40bc449c87b5cbfb5c774e79", "VERSION":"V1.0" }, "SIGN":"9C7732EE20A94324F6552FB77A610CF14D1E0384CCD9E45D152045C4F9ECB0C9" } }, "response":{ "status":null, "headers":null, "body":null }, "metadata":{ "record":{ "transID":"c95fb9eb40bc449c87b5cbfb5c774e79" } } } <<< response { "code":"0000", "message":"OK", "data":"" } ~~~