Skip to content

Commit

Permalink
[tests] updating recorded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MIDDLEEAST\v-moshaban committed Mar 31, 2021
1 parent 3888faf commit 472a51b
Show file tree
Hide file tree
Showing 22 changed files with 6,472 additions and 3,409 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ interactions:
User-Agent:
- azsdk-python-storage-blob/12.8.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 30 Mar 2021 01:26:40 GMT
- Wed, 31 Mar 2021 00:54:22 GMT
x-ms-version:
- '2020-06-12'
method: PUT
uri: https://redacted.blob.core.windows.net/src87476c71-9695-45ca-b0f2-fe8859963a27?restype=container
uri: https://redacted.blob.core.windows.net/src033a23a5-0c8f-4078-8714-5294164a76b7?restype=container
response:
body:
string: ''
headers:
content-length:
- '0'
date:
- Tue, 30 Mar 2021 01:26:41 GMT
- Wed, 31 Mar 2021 00:54:22 GMT
etag:
- '"0x8D8F31ADF58B8C5"'
- '"0x8D8F3DF86625AED"'
last-modified:
- Tue, 30 Mar 2021 01:26:41 GMT
- Wed, 31 Mar 2021 00:54:23 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version:
Expand Down Expand Up @@ -57,13 +57,13 @@ interactions:
x-ms-blob-type:
- BlockBlob
x-ms-date:
- Tue, 30 Mar 2021 01:26:41 GMT
- Wed, 31 Mar 2021 00:54:23 GMT
x-ms-encryption-algorithm:
- AES256
x-ms-version:
- '2020-06-12'
method: PUT
uri: https://redacted.blob.core.windows.net/src87476c71-9695-45ca-b0f2-fe8859963a27/e7383a16-c354-4cb4-8cd4-df13a903633d.txt
uri: https://redacted.blob.core.windows.net/src033a23a5-0c8f-4078-8714-5294164a76b7/2ead8b58-9d4e-447a-9001-6f1edc9e441e.txt
response:
body:
string: ''
Expand All @@ -73,11 +73,11 @@ interactions:
content-md5:
- lyFPYyJLwenMTaN3qtznxw==
date:
- Tue, 30 Mar 2021 01:26:41 GMT
- Wed, 31 Mar 2021 00:54:22 GMT
etag:
- '"0x8D8F31ADF8C6B77"'
- '"0x8D8F3DF8693C9F9"'
last-modified:
- Tue, 30 Mar 2021 01:26:41 GMT
- Wed, 31 Mar 2021 00:54:23 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-content-crc64:
Expand All @@ -103,23 +103,23 @@ interactions:
User-Agent:
- azsdk-python-storage-blob/12.8.0 Python/3.9.0 (Windows-10-10.0.19041-SP0)
x-ms-date:
- Tue, 30 Mar 2021 01:26:42 GMT
- Wed, 31 Mar 2021 00:54:23 GMT
x-ms-version:
- '2020-06-12'
method: PUT
uri: https://redacted.blob.core.windows.net/target6338e53d-eb44-4070-8373-b39ee952b92d?restype=container
uri: https://redacted.blob.core.windows.net/target44e9b63e-4632-4fc5-84b1-301223336c95?restype=container
response:
body:
string: ''
headers:
content-length:
- '0'
date:
- Tue, 30 Mar 2021 01:26:42 GMT
- Wed, 31 Mar 2021 00:54:26 GMT
etag:
- '"0x8D8F31AE025B49C"'
- '"0x8D8F3DF892604AB"'
last-modified:
- Tue, 30 Mar 2021 01:26:42 GMT
- Wed, 31 Mar 2021 00:54:27 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version:
Expand All @@ -128,8 +128,8 @@ interactions:
code: 201
message: Created
- request:
body: '{"inputs": [{"source": {"sourceUrl": "https://redacted.blob.core.windows.net/src87476c71-9695-45ca-b0f2-fe8859963a27?se=end&sp=rl&sv=2020-06-12&sr=c&sig=fake_token_value",
"filter": {}}, "targets": [{"targetUrl": "https://redacted.blob.core.windows.net/target6338e53d-eb44-4070-8373-b39ee952b92d?se=end&sp=racwdl&sv=2020-06-12&sr=c&sig=fake_token_value",
body: '{"inputs": [{"source": {"sourceUrl": "https://redacted.blob.core.windows.net/src033a23a5-0c8f-4078-8714-5294164a76b7?se=end&sp=rl&sv=2020-06-12&sr=c&sig=fake_token_value",
"filter": {}}, "targets": [{"targetUrl": "https://redacted.blob.core.windows.net/target44e9b63e-4632-4fc5-84b1-301223336c95?se=end&sp=racwdl&sv=2020-06-12&sr=c&sig=fake_token_value",
"language": "es"}]}]}'
headers:
Accept:
Expand All @@ -139,7 +139,7 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '494'
- '490'
Content-Type:
- application/json
User-Agent:
Expand All @@ -151,24 +151,24 @@ interactions:
string: ''
headers:
apim-request-id:
- d8d9407a-0c55-476e-8208-fb0f258992ee
- 73c55980-1320-44c8-b413-c383ce35790b
content-length:
- '0'
date:
- Tue, 30 Mar 2021 01:26:42 GMT
- Wed, 31 Mar 2021 00:54:27 GMT
operation-location:
- https://redacted.cognitiveservices.azure.com/translatortext/batch/v1.0-preview.1/batches/1ccefd22-3fb3-4fa8-bd60-806a270c1ae1
- https://redacted.cognitiveservices.azure.com/translatortext/batch/v1.0-preview.1/batches/b2b0ea31-f473-4fef-8458-857c10880756
set-cookie:
- ARRAffinity=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinity=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-content-type-options:
- nosniff
x-powered-by:
- ASP.NET
x-requestid:
- d8d9407a-0c55-476e-8208-fb0f258992ee
- 73c55980-1320-44c8-b413-c383ce35790b
status:
code: 202
message: Accepted
Expand All @@ -184,26 +184,26 @@ interactions:
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/1ccefd22-3fb3-4fa8-bd60-806a270c1ae1
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/b2b0ea31-f473-4fef-8458-857c10880756
response:
body:
string: '{"id":"1ccefd22-3fb3-4fa8-bd60-806a270c1ae1","createdDateTimeUtc":"2021-03-30T01:26:43.5736455Z","lastActionDateTimeUtc":"2021-03-30T01:26:43.5736459Z","status":"NotStarted","summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
string: '{"id":"b2b0ea31-f473-4fef-8458-857c10880756","createdDateTimeUtc":"2021-03-31T00:54:28.5086484Z","lastActionDateTimeUtc":"2021-03-31T00:54:28.5086488Z","status":"NotStarted","summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
headers:
apim-request-id:
- 2b063dab-2def-43e2-8800-4f7633d2203a
- 8f1a6f0a-936f-4282-b3af-8d566fc514d4
cache-control:
- public,max-age=1
content-length:
- '292'
content-type:
- application/json; charset=utf-8
date:
- Tue, 30 Mar 2021 01:26:43 GMT
- Wed, 31 Mar 2021 00:54:28 GMT
etag:
- '"A9A6AB69C758B1F7F3CF688CEDC76295BEDB40E99E4E945FAA1D075D4DFDE76F"'
- '"415DC8014E33D675E75E6349D2CD0B08E374B42B63A231B8F524A8232C90DC46"'
set-cookie:
- ARRAffinity=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinity=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
Expand All @@ -215,7 +215,7 @@ interactions:
x-powered-by:
- ASP.NET
x-requestid:
- 2b063dab-2def-43e2-8800-4f7633d2203a
- 8f1a6f0a-936f-4282-b3af-8d566fc514d4
status:
code: 200
message: OK
Expand All @@ -233,22 +233,22 @@ interactions:
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: DELETE
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/1ccefd22-3fb3-4fa8-bd60-806a270c1ae1
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/b2b0ea31-f473-4fef-8458-857c10880756
response:
body:
string: '{"id":"1ccefd22-3fb3-4fa8-bd60-806a270c1ae1","createdDateTimeUtc":"2021-03-30T01:26:43.5736455Z","lastActionDateTimeUtc":"2021-03-30T01:26:43.8856367Z","status":"NotStarted","summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
string: '{"id":"b2b0ea31-f473-4fef-8458-857c10880756","createdDateTimeUtc":"2021-03-31T00:54:28.5086484Z","lastActionDateTimeUtc":"2021-03-31T00:54:28.8267222Z","status":"NotStarted","summary":{"total":0,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":0,"totalCharacterCharged":0}}'
headers:
apim-request-id:
- 4f2eb9c2-301e-4201-8196-72543941f20d
- cbea59e8-f940-4603-acc2-4deced2343a7
content-length:
- '292'
content-type:
- application/json; charset=utf-8
date:
- Tue, 30 Mar 2021 01:26:43 GMT
- Wed, 31 Mar 2021 00:54:28 GMT
set-cookie:
- ARRAffinity=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinity=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
Expand All @@ -260,7 +260,7 @@ interactions:
x-powered-by:
- ASP.NET
x-requestid:
- 4f2eb9c2-301e-4201-8196-72543941f20d
- cbea59e8-f940-4603-acc2-4deced2343a7
status:
code: 200
message: OK
Expand All @@ -276,26 +276,26 @@ interactions:
User-Agent:
- azsdk-python-ai-translatortext/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0)
method: GET
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/1ccefd22-3fb3-4fa8-bd60-806a270c1ae1
uri: https://redacted.cognitiveservices.azure.com/translator/text/batch/v1.0-preview.1/batches/b2b0ea31-f473-4fef-8458-857c10880756
response:
body:
string: '{"id":"1ccefd22-3fb3-4fa8-bd60-806a270c1ae1","createdDateTimeUtc":"2021-03-30T01:26:43.5736455Z","lastActionDateTimeUtc":"2021-03-30T01:26:51.8781239Z","status":"Cancelled","summary":{"total":1,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":1,"totalCharacterCharged":0}}'
string: '{"id":"b2b0ea31-f473-4fef-8458-857c10880756","createdDateTimeUtc":"2021-03-31T00:54:28.5086484Z","lastActionDateTimeUtc":"2021-03-31T00:54:32.7745177Z","status":"Cancelled","summary":{"total":1,"failed":0,"success":0,"inProgress":0,"notYetStarted":0,"cancelled":1,"totalCharacterCharged":0}}'
headers:
apim-request-id:
- ef0d779c-a96a-4b41-b6d0-34dcaca4f400
- afc1f7d4-f03c-43db-9c82-5c1aa20fd4ec
cache-control:
- public,max-age=1
content-length:
- '291'
content-type:
- application/json; charset=utf-8
date:
- Tue, 30 Mar 2021 01:26:54 GMT
- Wed, 31 Mar 2021 00:54:38 GMT
etag:
- '"78F712C80FD05190D59AAF27D76EDCAFE6293236E3E5A569F0A285D230490E34"'
- '"398F585FBB31F2DDAA9594391F72BE7043FC96EB373D98783C0CDB9032F49C73"'
set-cookie:
- ARRAffinity=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=36da0e643e19b219e9cc242244bbb17606f2f9cdc98871c377756b22cded58cb;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinity=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;Secure;Domain=doctrans.northeu.microsofttranslator.com
- ARRAffinitySameSite=52534756bc24481c0848ee2def3c54a057fd0e51707d9dcf782aa603bbaa9f24;Path=/;HttpOnly;SameSite=None;Secure;Domain=doctrans.northeu.microsofttranslator.com
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
transfer-encoding:
Expand All @@ -307,7 +307,7 @@ interactions:
x-powered-by:
- ASP.NET
x-requestid:
- ef0d779c-a96a-4b41-b6d0-34dcaca4f400
- afc1f7d4-f03c-43db-9c82-5c1aa20fd4ec
status:
code: 200
message: OK
Expand Down
Loading

0 comments on commit 472a51b

Please sign in to comment.