Skip to content

Commit

Permalink
Added live tests for identity client aad (#15909)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeauregardb authored Dec 22, 2020
1 parent febfe9d commit c5745c1
Show file tree
Hide file tree
Showing 18 changed files with 620 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interactions:
Content-Length:
- '0'
Date:
- Thu, 10 Dec 2020 22:51:26 GMT
- Tue, 22 Dec 2020 18:26:56 GMT
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -27,15 +27,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 10 Dec 2020 22:51:26 GMT
- Tue, 22 Dec 2020 18:26:55 GMT
ms-cv:
- 7v+JU+4sXEu3iOcMG67i8g.0
- 4whAoum970WIzePHLz1Ujg.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 26ms
- 18ms
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 10 Dec 2020 22:52:36 GMT
- Tue, 22 Dec 2020 18:28:04 GMT
ms-cv:
- MomL+0MB7EyhD2dh2BIUOw.0
- /4JsXqUuEkmQ1v304iaBTw.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 484ms
- 635ms
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interactions:
Content-Length:
- '0'
Date:
- Thu, 10 Dec 2020 22:53:44 GMT
- Tue, 22 Dec 2020 18:29:13 GMT
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -27,15 +27,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 10 Dec 2020 22:53:44 GMT
- Tue, 22 Dec 2020 18:29:12 GMT
ms-cv:
- HU9zP3sAB060ixX6PUWTcQ.0
- UzbbWyNM6Ee4hx1Ym7MwSA.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 24ms
- 19ms
status:
code: 200
message: OK
Expand All @@ -51,7 +51,7 @@ interactions:
Content-Length:
- '0'
Date:
- Thu, 10 Dec 2020 22:53:44 GMT
- Tue, 22 Dec 2020 18:29:14 GMT
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -65,13 +65,13 @@ interactions:
api-supported-versions:
- 2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2
date:
- Thu, 10 Dec 2020 22:53:45 GMT
- Tue, 22 Dec 2020 18:29:13 GMT
ms-cv:
- LUZClOYgLkSQl86bl6mH5A.0
- bD8oBIuNQEWXEaluFwupbA.0
strict-transport-security:
- max-age=2592000
x-processing-time:
- 760ms
- 764ms
status:
code: 204
message: No Content
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://communicationegrcrs.communication.azure.com/identities?api-version=2020-07-20-preview2
response:
body:
string: '{"id": "sanitized"}'
headers:
api-supported-versions:
- 2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2
content-type:
- application/json; charset=utf-8
date:
- Tue, 22 Dec 2020 18:30:23 GMT
ms-cv:
- eSMH8ZATxUWO5OamG49Wdg.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 811ms
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
method: DELETE
uri: https://communicationegrcrs.communication.azure.com/identities/sanitized?api-version=2020-07-20-preview2
response:
body:
string: ''
headers:
api-supported-versions:
- 2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2
date:
- Tue, 22 Dec 2020 18:30:24 GMT
ms-cv:
- 91lJNqPMP0+hZnY0ay0tXA.0
strict-transport-security:
- max-age=2592000
x-processing-time:
- 741ms
status:
code: 204
message: No Content
version: 1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interactions:
Content-Length:
- '0'
Date:
- Thu, 10 Dec 2020 22:54:54 GMT
- Tue, 22 Dec 2020 18:31:34 GMT
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -27,15 +27,15 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 10 Dec 2020 22:54:54 GMT
- Tue, 22 Dec 2020 18:31:32 GMT
ms-cv:
- 4ddtj5VSuUSfygOLzzMjUw.0
- OXm+S4D9ak+t0Y4jKA3bFA.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 23ms
- 24ms
status:
code: 200
message: OK
Expand All @@ -53,7 +53,7 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 10 Dec 2020 22:54:55 GMT
- Tue, 22 Dec 2020 18:31:34 GMT
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
x-ms-return-client-request-id:
Expand All @@ -62,22 +62,22 @@ interactions:
uri: https://communicationegrcrs.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2
response:
body:
string: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-12-11T22:54:54.5367532+00:00"}'
string: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-12-23T18:31:32.3009076+00:00"}'
headers:
api-supported-versions:
- 2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2
content-type:
- application/json; charset=utf-8
date:
- Thu, 10 Dec 2020 22:54:54 GMT
- Tue, 22 Dec 2020 18:31:32 GMT
ms-cv:
- /ARVDCNNC0SiBNuTR5/e+w.0
- EArcgkwtPkCU38ZbLjwJEQ.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 31ms
- 24ms
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://communicationegrcrs.communication.azure.com/identities?api-version=2020-07-20-preview2
response:
body:
string: '{"id": "sanitized"}'
headers:
api-supported-versions:
- 2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2
content-type:
- application/json; charset=utf-8
date:
- Tue, 22 Dec 2020 18:32:41 GMT
ms-cv:
- NcQPodkL5UOzC+AtKJcXvw.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 501ms
status:
code: 200
message: OK
- request:
body: '{"scopes": ["chat"]}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '20'
Content-Type:
- application/json
User-Agent:
- azsdk-python-communication-administration/1.0.0b4 Python/3.8.5 (Windows-10-10.0.19041-SP0)
method: POST
uri: https://communicationegrcrs.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2
response:
body:
string: '{"id": "sanitized", "token": "sanitized", "expiresOn": "2020-12-23T18:32:41.3736569+00:00"}'
headers:
api-supported-versions:
- 2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2
content-type:
- application/json; charset=utf-8
date:
- Tue, 22 Dec 2020 18:32:41 GMT
ms-cv:
- W4rjQkxkvUSQqyJk5dUwCA.0
strict-transport-security:
- max-age=2592000
transfer-encoding:
- chunked
x-processing-time:
- 27ms
status:
code: 200
message: OK
version: 1
Loading

0 comments on commit c5745c1

Please sign in to comment.