You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-23 22:05:15 +02:00
Правка тестов
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "AWS4-HMAC-SHA256 Credential=AccessKey/20250520/Region/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=653207ae71d9ce961023bf89011d8ca2d5b6114b0bd21b006819fdc1537d6688",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amz-Content-Sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"X-Amz-Date": "20250520T165028Z",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2d4-06f132aa1e6ea0af3cff7a44"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "Basic dXNlcjpwYXNzd29yZA==",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2d1-6f6597c879402a2f23261b92"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "Bearer 123123",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2d2-760d2d3f5d89c710345ddfbe"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "Bearer 1111",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2cc-2cfbf2b31a92d00b570df531",
|
||||
"X-Header1": "Value1",
|
||||
"X-Header2": "Value2",
|
||||
"X-Header3": "BadValue",
|
||||
"X-Header4": "BadValue"
|
||||
},
|
||||
"origin": "93.125.42.204",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "Bearer 1111",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2cc-0e44f36547691c63122dbca0",
|
||||
"X-Header1": "Value1",
|
||||
"X-Header2": "Value2"
|
||||
},
|
||||
"origin": "93.125.42.204",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
15
docs/en/results/HTTPClient/AddHeader.log
vendored
15
docs/en/results/HTTPClient/AddHeader.log
vendored
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2cb-633a0e5879a0549c662b37c4",
|
||||
"X-Header1": "Value1",
|
||||
"X-Header2": "Value2"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "OAuth oauth_consumer_key=\"***\",oauth_token=\"***\",oauth_signature_method=\"HMAC-SHA256\",oauth_timestamp=\"1747767029\",oauth_nonce=\"1747767029\",oauth_version=\"1.0\",oauth_signature=ichCkv43CziQOYat0ejrMy9a%2FYtDr8pTRUPKmrQ%2BNrk%3D",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2d4-003ddcfa69b783dc5c581269"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON: HTTPОтвет
|
||||
@@ -1 +0,0 @@
|
||||
null
|
||||
13
docs/en/results/HTTPClient/ExecuteRequest.log
vendored
13
docs/en/results/HTTPClient/ExecuteRequest.log
vendored
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2dc-7ea7beca0426f2296227329c"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
13
docs/en/results/HTTPClient/Initialize.log
vendored
13
docs/en/results/HTTPClient/Initialize.log
vendored
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-6813197d-6c8904af0e2d366f7a5e196e"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
13
docs/en/results/HTTPClient/ProcessRequest.log
vendored
13
docs/en/results/HTTPClient/ProcessRequest.log
vendored
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2da-49ca85a741b8937f35592fc3"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
null
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON: HTTPСоединение
|
||||
@@ -1 +0,0 @@
|
||||
null
|
||||
1
docs/en/results/HTTPClient/ReturnRequest.log
vendored
1
docs/en/results/HTTPClient/ReturnRequest.log
vendored
@@ -1 +0,0 @@
|
||||
NOT JSON: HTTPЗапрос
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON: HTTPОтвет
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON: 7B 0A 20 20 22 61 72 67 73 22 3A 20 7B 7D 2C 20 0A 20 20 22 64 61 74 61 22 3A 20 22 64 61 74 61 3A 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6F 63 74 65 74 2D 73 74 72 65 61 6D 3B 62 61 73 65 36 34…
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"data": "...",
|
||||
"files": {},
|
||||
"form": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Content-Length": "2114023",
|
||||
"Content-Type": "application/octet-stream",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2ee-6a7062317233fd9b11c4695b"
|
||||
},
|
||||
"json": null,
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/post"
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"data": "...",
|
||||
"files": {},
|
||||
"form": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Content-Length": "2114023",
|
||||
"Content-Type": "application/octet-stream",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb304-6f39ab9b3a66bace320a308e"
|
||||
},
|
||||
"json": null,
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/post"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
"C:\\Users\\Administrator\\AppData\\Local\\Temp\\45xn0z0rpco.tmp"
|
||||
19
docs/en/results/HTTPClient/SetBinaryBody.log
vendored
19
docs/en/results/HTTPClient/SetBinaryBody.log
vendored
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"data": "...",
|
||||
"files": {},
|
||||
"form": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Content-Length": "2114023",
|
||||
"Content-Type": "application/octet-stream",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-68131982-38ef76ed402ce1dd00b2a147"
|
||||
},
|
||||
"json": null,
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/post"
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "Bearer 1111",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2ca-0d086e2c56b0353e256336f4",
|
||||
"X-Header1": "Value1",
|
||||
"X-Header2": "Value2"
|
||||
},
|
||||
"origin": "93.125.42.204",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
15
docs/en/results/HTTPClient/SetHeaders.log
vendored
15
docs/en/results/HTTPClient/SetHeaders.log
vendored
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2c9-0fb550fe0bea291d6b6af622",
|
||||
"X-Header1": "Value1",
|
||||
"X-Header2": "Value2"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
19
docs/en/results/HTTPClient/SetStringBody.log
vendored
19
docs/en/results/HTTPClient/SetStringBody.log
vendored
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"data": "Hello world!",
|
||||
"files": {},
|
||||
"form": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Content-Length": "12",
|
||||
"Content-Type": "text/plain; charset=Windows-1251",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-6813198c-2cc2e9d30cb7cc3868030c13"
|
||||
},
|
||||
"json": null,
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/post"
|
||||
}
|
||||
13
docs/en/results/HTTPClient/SetURL.log
vendored
13
docs/en/results/HTTPClient/SetURL.log
vendored
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-6813197e-3de16c3f45b83edc01c357ad"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get"
|
||||
}
|
||||
16
docs/en/results/HTTPClient/SetURLParams.log
vendored
16
docs/en/results/HTTPClient/SetURLParams.log
vendored
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"args": {
|
||||
"param1": "text",
|
||||
"param2": "10"
|
||||
},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-6813197e-7efd59a94945473062202cf0"
|
||||
},
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/get?param1=text¶m2=10"
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON: HTTPЗапрос
|
||||
@@ -1 +0,0 @@
|
||||
NOT JSON: HTTPЗапрос
|
||||
@@ -1 +0,0 @@
|
||||
"Initialize: setting of default values\nSetDefaultSettings: configuration setting\nSetURL: setting the value\nSplitURL: splitting a request into component parts\nSplitURL: Secure = Да\nSplitURL: Address = /post\nSplitURL: Domain = httpbin.org\nSplitURL: Port = 443\nSplitURL: Host = https://httpbin.org\nStartMultipartBody: creating a temporary file\nAddMultipartFile: writing the block header\nAddMultipartFile: data writing\nAddMultipartField: writing the block header\nAddMultipartField: data writing\nAddMultipartField: writing the block header\nAddMultipartField: data writing\nUseBodyFiledsAtOAuth: setting the value\nProcessRequest: creation of HTTPRequest object\nFormRequest: Adding parameters\nFormRequest: Creating a request object\nFormRequest: Creating a connection object\nProcessRequest: place the body in the HTTPRequest object\nCompleteHeaders: Content-Length setting\nCompleteAuthHeaders: generating OAuth V1 Authorization header\nAddOAuthV1Header: signature creation\nAddOAuthV1Header: adding body fields to the signature string\nAddOAuthV1Header: updating the signature string with credentials\nAddOAuthV1Header: \nAddOAuthV1Header: authorization header creation\nCompleteHeaders: setting the gzip header"
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"args": {},
|
||||
"data": "",
|
||||
"files": {
|
||||
"file1": "..."
|
||||
},
|
||||
"form": {
|
||||
"field1": "Text",
|
||||
"field2": "10"
|
||||
},
|
||||
"headers": {
|
||||
"Accept": "*/*",
|
||||
"Accept-Charset": "utf-8",
|
||||
"Accept-Encoding": "gzip",
|
||||
"Authorization": "OAuth oauth_consumer_key=\"***\",oauth_token=\"***\",oauth_signature_method=\"HMAC-SHA256\",oauth_timestamp=\"1747767000\",oauth_nonce=\"1747767000\",oauth_version=\"1.0\",oauth_signature=tus2gTVjvayXtBkUUdbhiv0bWpedesx%2FsDgFwFRPeuY%3D",
|
||||
"Content-Length": "2114372",
|
||||
"Content-Type": "multipart/form-data; boundary=b40ebc5c096945adaa7775b729365fce",
|
||||
"Host": "httpbin.org",
|
||||
"User-Agent": "1Script v$1.9.2.10",
|
||||
"X-Amzn-Trace-Id": "Root=1-682cb2b8-213540510836597a6230c216"
|
||||
},
|
||||
"json": null,
|
||||
"origin": "***",
|
||||
"url": "https://httpbin.org/post"
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"No encoding": "/page?param1=search?text¶m2=John Doe¶m3=value&another¶m4=cyrillic¶m5=<script>alert('XSS')</script>",
|
||||
"With encoding": "/page?param1=search%3Ftext¶m2=John%20Doe¶m3=value%26another¶m4=cyrillic¶m5=%3Cscript%3Ealert%28%27XSS%27%29%3C%2Fscript%3E"
|
||||
}
|
||||
5
service/dictionaries/en_post.json
vendored
5
service/dictionaries/en_post.json
vendored
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"page?param1=search%3Ftext¶m2=John%20Doe¶m3=value%26another¶m4=cyrillic": "page?param1=search%3Ftext¶m2=John%20Doe¶m3=value%26another¶m4=кириллица",
|
||||
"СтруктураПараметров1.Вставить(\"param4\", \"cyrillic\");": "СтруктураПараметров1.Вставить(\"param4\", \"кириллица\");",
|
||||
"page?param1=search?text¶m2=John Doe¶m3=value&another¶m4=cyrillic¶m5": "page?param1=search?text¶m2=John Doe¶m3=value&another¶m4=кириллица¶m5",
|
||||
"UTTests": "ЮТТесты",
|
||||
@@ -25,5 +26,7 @@
|
||||
"<key>ru</key>":"<key>en</key>",
|
||||
"<scriptVariant>Russian</scriptVariant>":"<scriptVariant>English</scriptVariant>",
|
||||
"Base-Project: OpenIntegrations":"Base-Project: OpenIntegrationsENG",
|
||||
"https://example.com/path": "https://example.com/путь"
|
||||
"https://example.com/path": "https://example.com/путь",
|
||||
"\"cyrillic\"":"\"кириллица\"",
|
||||
"=cyrillic":"=кириллица"
|
||||
}
|
||||
@@ -21698,7 +21698,7 @@
|
||||
|
||||
ТекстB64 = "data:application/octet-stream;base64," + Base64Строка(ТекстДД);
|
||||
|
||||
OPI_ПолучениеДанныхТестов.ОжидаетЧто(Результат["data"]).Равно(ТекстB64);
|
||||
OPI_ПолучениеДанныхТестов.ОжидаетЧто(Результат["data"] = ТекстB64 Или Результат["data"] = Текст).Равно(Истина);
|
||||
|
||||
КонецПроцедуры
|
||||
|
||||
|
||||
Reference in New Issue
Block a user