-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
401 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
...re-storage-blob/src/test/resources/session-records/BlobAPITestuploadincorrectsize[0].json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsize61a372717?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "6bf35f33-b5b3-409c-8dc2-5f130fb97710" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"ETag" : "0x8D82819FF1A5384", | ||
"Last-Modified" : "Tue, 14 Jul 2020 17:18:59 GMT", | ||
"retry-after" : "0", | ||
"Content-Length" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-id" : "d46d6efa-901e-0054-2b02-5abe5e000000", | ||
"Date" : "Tue, 14 Jul 2020 17:18:59 GMT", | ||
"x-ms-client-request-id" : "6bf35f33-b5b3-409c-8dc2-5f130fb97710" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsize61a372717/javablobuploadincorrectsize192960ae99c1dbb885442", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "0addb259-10d1-4120-888b-ca7ae000dbb7", | ||
"Content-Type" : "application/octet-stream" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"x-ms-content-crc64" : "6RYQPwaVsyQ=", | ||
"Last-Modified" : "Tue, 14 Jul 2020 17:19:00 GMT", | ||
"retry-after" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-server-encrypted" : "true", | ||
"Date" : "Tue, 14 Jul 2020 17:18:59 GMT", | ||
"Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", | ||
"ETag" : "0x8D82819FFBE88FD", | ||
"Content-Length" : "0", | ||
"x-ms-request-id" : "b2e2badf-b01e-0061-7402-5a100b000000", | ||
"x-ms-client-request-id" : "0addb259-10d1-4120-888b-ca7ae000dbb7" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "GET", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?prefix=jtcuploadincorrectsize&comp=list", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "3062524d-62b2-4ecf-8aa6-b0466c650321" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "3bcebc16-c01e-006e-3e02-5afdfd000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"https://xclientdev3.blob.core.windows.net/\"><Prefix>jtcuploadincorrectsize</Prefix><Containers><Container><Name>jtcuploadincorrectsize0blobapitestuploadincorrectsize61a372717</Name><Properties><Last-Modified>Tue, 14 Jul 2020 17:18:59 GMT</Last-Modified><Etag>\"0x8D82819FF1A5384\"</Etag><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><DefaultEncryptionScope>$account-encryption-key</DefaultEncryptionScope><DenyEncryptionScopeOverride>false</DenyEncryptionScopeOverride><HasImmutabilityPolicy>false</HasImmutabilityPolicy><HasLegalHold>false</HasLegalHold></Properties></Container></Containers><NextMarker /></EnumerationResults>", | ||
"Date" : "Tue, 14 Jul 2020 17:19:00 GMT", | ||
"x-ms-client-request-id" : "3062524d-62b2-4ecf-8aa6-b0466c650321", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "DELETE", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsize61a372717?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "bf4ee0d9-d744-4434-86cd-d42dae8ef27a" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"Content-Length" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "8f04ebd6-801e-0040-0402-5a7d3a000000", | ||
"Date" : "Tue, 14 Jul 2020 17:19:01 GMT", | ||
"x-ms-client-request-id" : "bf4ee0d9-d744-4434-86cd-d42dae8ef27a" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ "jtcuploadincorrectsize0blobapitestuploadincorrectsize61a372717", "javablobuploadincorrectsize192960ae99c1dbb885442" ] | ||
} |
90 changes: 90 additions & 0 deletions
90
...re-storage-blob/src/test/resources/session-records/BlobAPITestuploadincorrectsize[1].json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsizec47250537?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "3357dd18-4743-45cc-8c81-678638cd39d0" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"ETag" : "0x8D8281A00C3DE5B", | ||
"Last-Modified" : "Tue, 14 Jul 2020 17:19:02 GMT", | ||
"retry-after" : "0", | ||
"Content-Length" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-id" : "4e84195f-e01e-009c-5b02-5a2f69000000", | ||
"Date" : "Tue, 14 Jul 2020 17:19:01 GMT", | ||
"x-ms-client-request-id" : "3357dd18-4743-45cc-8c81-678638cd39d0" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsizec47250537/javablobuploadincorrectsize105800ad666ed1358e41c", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "b65064d9-44e9-4637-8afc-f1c27f9f1a99", | ||
"Content-Type" : "application/octet-stream" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"x-ms-content-crc64" : "6RYQPwaVsyQ=", | ||
"Last-Modified" : "Tue, 14 Jul 2020 17:19:02 GMT", | ||
"retry-after" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-server-encrypted" : "true", | ||
"Date" : "Tue, 14 Jul 2020 17:19:01 GMT", | ||
"Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", | ||
"ETag" : "0x8D8281A00F2D3DC", | ||
"Content-Length" : "0", | ||
"x-ms-request-id" : "b9dba07a-101e-000a-1102-5a4d5d000000", | ||
"x-ms-client-request-id" : "b65064d9-44e9-4637-8afc-f1c27f9f1a99" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "GET", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?prefix=jtcuploadincorrectsize&comp=list", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "039695a3-cdd6-4f4f-bf61-0607b7441c14" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "919d11bb-201e-002b-5202-5a206c000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"https://xclientdev3.blob.core.windows.net/\"><Prefix>jtcuploadincorrectsize</Prefix><Containers><Container><Name>jtcuploadincorrectsize0blobapitestuploadincorrectsizec47250537</Name><Properties><Last-Modified>Tue, 14 Jul 2020 17:19:02 GMT</Last-Modified><Etag>\"0x8D8281A00C3DE5B\"</Etag><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><DefaultEncryptionScope>$account-encryption-key</DefaultEncryptionScope><DenyEncryptionScopeOverride>false</DenyEncryptionScopeOverride><HasImmutabilityPolicy>false</HasImmutabilityPolicy><HasLegalHold>false</HasLegalHold></Properties></Container></Containers><NextMarker /></EnumerationResults>", | ||
"Date" : "Tue, 14 Jul 2020 17:19:02 GMT", | ||
"x-ms-client-request-id" : "039695a3-cdd6-4f4f-bf61-0607b7441c14", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "DELETE", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsizec47250537?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "44c31a46-1731-4413-a8a8-08a3dee3d7c6" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"Content-Length" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "77df9095-901e-0010-4502-5a6232000000", | ||
"Date" : "Tue, 14 Jul 2020 17:19:02 GMT", | ||
"x-ms-client-request-id" : "44c31a46-1731-4413-a8a8-08a3dee3d7c6" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ "jtcuploadincorrectsize0blobapitestuploadincorrectsizec47250537", "javablobuploadincorrectsize105800ad666ed1358e41c" ] | ||
} |
90 changes: 90 additions & 0 deletions
90
...re-storage-blob/src/test/resources/session-records/BlobAPITestuploadincorrectsize[2].json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsizea0271001d?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "d37e8d0e-2ed0-4aff-817f-5aecbe772444" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"ETag" : "0x8D8281A01899BB6", | ||
"Last-Modified" : "Tue, 14 Jul 2020 17:19:03 GMT", | ||
"retry-after" : "0", | ||
"Content-Length" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-id" : "167610af-a01e-0031-6502-5a0f03000000", | ||
"Date" : "Tue, 14 Jul 2020 17:19:03 GMT", | ||
"x-ms-client-request-id" : "d37e8d0e-2ed0-4aff-817f-5aecbe772444" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsizea0271001d/javablobuploadincorrectsize1958500e125872c20b445", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "70a6acea-8a74-46ec-a8bf-dd19d4162bbe", | ||
"Content-Type" : "application/octet-stream" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"x-ms-content-crc64" : "6RYQPwaVsyQ=", | ||
"Last-Modified" : "Tue, 14 Jul 2020 17:19:03 GMT", | ||
"retry-after" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-server-encrypted" : "true", | ||
"Date" : "Tue, 14 Jul 2020 17:19:03 GMT", | ||
"Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==", | ||
"ETag" : "0x8D8281A01B9A32A", | ||
"Content-Length" : "0", | ||
"x-ms-request-id" : "d2c931c3-d01e-00f2-7c02-5a8640000000", | ||
"x-ms-client-request-id" : "70a6acea-8a74-46ec-a8bf-dd19d4162bbe" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "GET", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?prefix=jtcuploadincorrectsize&comp=list", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "bdd56435-50ac-4727-9134-747e0bed473e" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "8193fad7-d01e-003e-6d02-5ae2f5000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"https://xclientdev3.blob.core.windows.net/\"><Prefix>jtcuploadincorrectsize</Prefix><Containers><Container><Name>jtcuploadincorrectsize0blobapitestuploadincorrectsizea0271001d</Name><Properties><Last-Modified>Tue, 14 Jul 2020 17:19:03 GMT</Last-Modified><Etag>\"0x8D8281A01899BB6\"</Etag><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><DefaultEncryptionScope>$account-encryption-key</DefaultEncryptionScope><DenyEncryptionScopeOverride>false</DenyEncryptionScopeOverride><HasImmutabilityPolicy>false</HasImmutabilityPolicy><HasLegalHold>false</HasLegalHold></Properties></Container></Containers><NextMarker /></EnumerationResults>", | ||
"Date" : "Tue, 14 Jul 2020 17:19:03 GMT", | ||
"x-ms-client-request-id" : "bdd56435-50ac-4727-9134-747e0bed473e", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "DELETE", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/jtcuploadincorrectsize0blobapitestuploadincorrectsizea0271001d?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2019-12-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.8.0-beta.2 (11.0.7; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "cc682a78-2410-4fa2-b4af-8489aeb9b645" | ||
}, | ||
"Response" : { | ||
"x-ms-version" : "2019-12-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"Content-Length" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "a98ba26c-301e-013b-0902-5a50df000000", | ||
"Date" : "Tue, 14 Jul 2020 17:19:03 GMT", | ||
"x-ms-client-request-id" : "cc682a78-2410-4fa2-b4af-8489aeb9b645" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ "jtcuploadincorrectsize0blobapitestuploadincorrectsizea0271001d", "javablobuploadincorrectsize1958500e125872c20b445" ] | ||
} |
Oops, something went wrong.