hailin0 commented on code in PR #3346: URL: https://github.com/apache/incubator-seatunnel/pull/3346#discussion_r1022465810
########## seatunnel-e2e/seatunnel-connector-v2-e2e/connector-http-e2e/src/test/resources/mockserver-lemlist-config.json: ########## @@ -0,0 +1,109 @@ +// https://www.mock-server.com/mock_server/getting_started.html#request_matchers + +[ + { + "httpRequest": { + "method" : "GET", + "path": "/example/lemlist/team" Review Comment: The path should be the same as lemlist ########## seatunnel-e2e/seatunnel-connector-v2-e2e/connector-http-e2e/src/test/resources/mockserver-lemlist-config.json: ########## @@ -0,0 +1,109 @@ +// https://www.mock-server.com/mock_server/getting_started.html#request_matchers + +[ + { + "httpRequest": { + "method" : "GET", + "path": "/example/lemlist/team" + }, + "httpResponse": { + "body": [ + { + "_id": "tea_aaqam5a3BkY8aje24", + "name": "PiedPiper", + "userIds": ["usr_45y54yug42yh4h66j7j"], + "createdBy": "usr_45y54yug42yh4h66j7j", + "createdAt": "2018-04-30T12:19:42.829Z", + "apiKey": "aa13722b45b9c475cc686231b1af6583", + "billing": { + "quantity": 1, + "ok": true, + "plan": "freetrial" + } + }, + { + "_id": "tea_abt325f32332aje4364", + "name": "TaoZex", + "userIds": ["usr_gh954gbiu5bg4t5l54t43t"], + "createdBy": "gh954gbiu5bg4t5l54t43t", + "createdAt": "2018-07-30T12:19:42.829Z", + "apiKey": "y4vu3yf74g3b4o3878438f4837fg4g48", + "billing": { + "quantity": 2, + "ok": true, + "plan": "sport" + } + }, + { + "_id": "tea_fta8f7tas68fgsf6as", + "name": "Frivlc", + "userIds": ["usr_r3w4t5y6h65u79f8ehfe6"], + "createdBy": "r3w4t5y6h65u79f8ehfe6", + "createdAt": "2021-04-30T12:19:42.829Z", + "apiKey": "8fh9473gfo847hf874bhwf76h4uifh44", + "billing": { + "quantity": 1, + "ok": false, + "plan": "test" + } + }, + { + "_id": "tea_6sdtgsrgdsghirq32r", + "name": "Lisa", + "userIds": ["usr_84974h3fyg453u5tkg"], + "createdBy": "usr_84974h3fyg453u5tkg", + "createdAt": "2018-04-30T12:26:42.829Z", + "apiKey": "7gf987f756agff7uagfo87agf8oaf3", + "billing": { + "quantity": 0, + "ok": true, + "plan": "study" + } + }, + { + "_id": "tea_78yhwg7e5rsyges8o7g", + "name": "Jack", + "userIds": ["usr_768h3fyv34i7w6g4y4fw"], + "createdBy": "usr_768h3fyv34i7w6g4y4fw", + "createdAt": "2019-04-30T11:19:42.829Z", + "apiKey": "3kruy4v3ir764gklrug4kw7rw4li784", + "billing": { + "quantity": 2, + "ok": false, + "plan": "eat food" + } + } + ] + } + }, + { + "httpRequest": { + "method" : "GET", + "path": "/example/lemlist/campaigns" Review Comment: The path should be the same as lemlist -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
