Без 'revoke' и Без 'accepted' дошел до 32 теста
Код:
6 неверный формат параметра account в операции type=payment 2009-08-21 17:13:14 ошибка, ожидался result=E1 (получен result=E3)
Статус ошибка, ожидался result=E1 (получен result=E3)
Запрос POST https://server.ru:8443/bgbilling/mpsexecuter/6/2/
Host: server.ru:8443
Content-Length: 455
Content-Type: application/x-www-form-urlencoded; charset=koi8-r
account=%21%40%230%5E%26%2A%28%29_%2B%7B%7D%5B%5D%3B%27%22%3C%3E%2C.%2F%3F%5C%60&id=553784036&pay_time=2009-08-21T17%3A13%3A13%2B04&sum=51.00×tamp=2009-08-21T17%3A13%3A13%2B04&type=payment
&sign=51b2b2931725975550f1654b8d27aa6201e20afea4a7022979dafa52b172af0152409229481d423922c8eafeb60b3e7b60b58968735f8f0717
eb8b6e08ff8b21cbbe2ab7975e15043cd6cc72734aebead4aa392ed68ed8195b07013e5e1a5f4fbbd02674f6b93dff41a648f0e2d710b5759a3eb7bf
47cb4f0277ad4f493939aa
Ответ HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Connection: close
Date: Fri, 21 Aug 2009 13:13:27 GMT
Server: Apache-Coyote/1.1
Content-Length: 279
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Set-Cookie: JSESSIONID=9DFBAB89E8CF8F669303F93576402BAF; Path=/; Secure
reason=&result=E3
&sign=80A0D297E0CA6DFC517B006D82639DA6A5A8949E19BFF384C5E30D3AF15E740C25AF93D38E555726654B340F3E68B27B0817C5A77964C382F7
427F9C2EC2CED4ECDDCBA2752EEFBA1CB3E6487A9122402AC005ADB7B974EB856BB89EC872E2068EF46DBAC59D67686E6A7D0D4AB44F4F0000255239
133039C61006FC0A253B7C
если с 'revoke' то ошибка на 24 тесте
Код:
11 операция type=status для аннулированного платежа (id=553786178) 2009-08-21 17:18:23 ошибка, отсутствует поле 'accepted'
Статус ошибка, отсутствует поле 'accepted'
Запрос POST https://server.ru:8443/bgbilling/mpsexecuter/6/2/
Host: server.ru:8443
Content-Length: 325
Content-Type: application/x-www-form-urlencoded; charset=koi8-r
id=553786178×tamp=2009-08-21T17%3A18%3A22%2B04&type=status
&sign=58d36149f8b396411102358a2eb21617de4e0262424151dd036b319e4e644b51a882bd8ed9e54ce7a7a174c037aed76d2caa0bb2bc5819b2c2
0acf299648c4eb1d4245e50c1956753f2ceb17f1dbb9416b12c10967c4fe757890e2e0a6cb9458facaeea5c8ec4ff10346f2cc4aba03e86e0b51d31b
347e43c5ac9b3e1dace8af
Ответ HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Connection: close
Date: Fri, 21 Aug 2009 13:18:36 GMT
Server: Apache-Coyote/1.1
Content-Length: 441
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Set-Cookie: JSESSIONID=E7BA56EB933728964B0EBABE0C69EC3C; Path=/; Secure
account=100000001-05&id=553786178&pay_time=2009-08-21T17%3A18%3A15%2B04&result=S2&revoked=2009-08-21T17%3A18%3A34%2B04&sum=51.00×tamp=2009-08-21T17%3A18%3A22%2B04&type=status
&sign=120D45C0AEBAD4FA38B65E7495E446ECCA657DE61EF398601D93F134F3F21503C717878B62CFCF196F415CAD13EBAF7D41A1942BD4AD7B2E39
D6A3A23882AA184FFC7DAFD88A92EF86DB4BFEE3E3CB757C42743A3FEA176A8BA9FD29B87D56E1195B91151FEA8CE10B7D716E2EB53D1A196D78CAA0
922822893E2540805E86AA
в сервер.лог
Код:
08-21/17:17:21 INFO [http-8443-1] EventProcessor - Add event to queue Event bitel.billing.server.script.bean.event.PaymentEvent cid: 8; module: 0; type: 1
08-21/17:17:36 INFO [http-8443-1] EventProcessor - Add event to queue Event bitel.billing.server.script.bean.event.PaymentEvent cid: 8; module: 0; type: 1
08-21/17:18:15 INFO [http-8443-1] EventProcessor - Add event to queue Event bitel.billing.server.script.bean.event.PaymentEvent cid: 8; module: 0; type: 1
08-21/17:18:29 INFO [http-8443-1] EventProcessor - Add event to queue Event bitel.billing.server.script.bean.event.PaymentEvent cid: 8; module: 0; type: 1