Closed ansonliao closed 8 years ago
Dear Sir, I fixed the problem and can connect to testrail cloud. the bugs have three:
TestRailServiceIntegrationTest
have throw exception error, remove throw IOException
can fix the problem.TestRailService
, variable apiEndpoint
have two bug:
https://
should be correct, and original http://
is incorrect.apiEndpoint
should be initialize to
String apiEndpoint = "https://%s.testrail.com"
still not test private testrail now.
@ansonliao Thank you so much for this information! I will fix it as soon as possible.
@ansonliao I have fixed the issues and merged them into ST-67. Thanks again for reporting these problems!
P.S. 我也姓廖 :)
@vinceis1337 Thanks for your reply. BTW, are you Chinese? I am from Hong Kong, my family name is "廖"。
@ansonliao I am American, but my parents are from Taiwan. My family name is also "廖".
@vinceis1337 nice to talk you, Vinceis. grade that you know my family name from english word "Liao", not Chinese character.
Dear Sir, I checkout branch "ST-67", and compile to get local jar, get error.
mvn install
Error:Follow up the suggestion of IDE to fix the errors above, and create a test for connect to personal Testrail, when run the test was fail, detail is below: Test script
Test.java
:Error message:
and I modified class
TestRailService.java
, changed variableapiEndpoint
value to"http://%s.testrail.com/"
, and then re-run the test, got error message below:It seems that can't add property
Content-Type
with valueapplication/jason
to header.Any idea to fix the problem?