Subject: | Return error message when calling gettests under windows |
Date: | Wed, 24 Dec 2014 01:53:12 -0800 |
To: | "'bug-TestRail-API [...] rt.cpan.org'" <bug-TestRail-API [...] rt.cpan.org> |
From: | Senchao Wang <sewang [...] wyse.com> |
Perl version: straw berry 5.20
Module version: 0.011
OS: Window 2008 R2
Detail:
We have 2 type errors when calling API getTests
1. Test rail API return error message “'x-died' => 'read failed: A non-blocking socket operation could not be completed immediately. at C:/strawberry/perl/vendor/lib/LWP/Protocol/http.pm line 467”
This test run have 300+ test cases, and this message will not occur on Linux with same Perl code. I guess this problem related to LWP/Net::HTTP handling https website under windows.
2. TestRail::API::catch {...} ("unexpected end of string while parsing JSON string, at charac"...) called at C:/strawberry/pe rl/vendor/lib/Try/Tiny.pm line 104
This test run have huge number of test cases (700+), seems most of test data already successful return.
May be need do some s/\cj/\n/ staff before json encoding?
BTW: Both 1 and 2 have no such problem with JAVA api
Best Regards,
Senchao Wang
Software Dev Engineer
Phone: +86-10-82862561 Dell Lync:8672561 Mobile: +86-13366063629
senchao_wang@dell.com<mailto:senchao_wang@dell.com>
Dell | Cloud Client Computing
7F, South Building, Tower C, Raycom info park.
No. 2 Science Institute South Road, Haidian District, Beijing, PR China, 100190
This communication is intended for the addressee(s) and may contain confidential information. We do not waive confidentiality by mistransmission. If you have received this communication in error, any use, dissemination, printing or copying is strictly prohibited; please destroy all electronic and paper copies and notify the sender immediately.