java code
public boolean login(String clientID, String key) {
requestPaths();
setClientID(clientID);
setKey(key);
/*
Response response = RestAssured.given()
.headers(buildHeaders())
.body(loginRequestBuilder(getClientID(), getKey()))
.when()
.post(data.get(0).toString())
.then()
.statusCode(200)
.contentType(ContentType.JSON)
.extract()
.response();
JsonPath jsonPathEvaluator = response.jsonPath();
setCookies(response.getDetailedCookies());
System.out.println(response.asPrettyString());
setResId(jsonPathEvaluator.get("user_id"));
return (jsonPathEvaluator.get("statusMessage").toString().toLowerCase()=="login successful");
*/
return true;
}
if i remove the comment, error is thrown
if i retain the comment , xui.MsgboxAsync("Hello World!", ok) ' the result is true in the title.
folder structure all the required external libs are in libs folder.
Volume in drive D is New Volume
Volume Serial Number is 9240-55AA
Directory of D:\FALib\libs
15/03/2021 13:12 <DIR> .
15/03/2021 13:12 <DIR> ..
21/01/2014 14:25 263,965 commons-codec-1.9.jar
06/11/2020 15:28 577,742 commons-lang3-3.11.jar
10/06/2015 19:25 61,829 commons-logging-1.2.jar
11/12/2020 09:03 7,949,743 groovy-3.0.7.jar
11/12/2020 09:03 133,034 groovy-json-3.0.7.jar
11/12/2020 09:03 292,540 groovy-xml-3.0.7.jar
15/03/2019 14:33 123,103 hamcrest-2.1.jar
18/04/2017 14:05 747,794 httpclient-4.5.3.jar
30/01/2017 14:41 323,824 httpcore-4.4.6.jar
18/04/2017 14:05 41,029 httpmime-4.5.3.jar
10/03/2020 11:08 46,613 jakarta.activation-api-1.2.2.jar
07/04/2020 08:22 115,638 jakarta.xml.bind-api-2.3.3.jar
03/07/2020 08:36 1,133,924 jaxb-impl-2.3.3.jar
11/12/2020 09:57 105,164 json-path-4.3.3.jar
15/03/2021 00:23 23,737 json-simple-1.1.1.jar
11/12/2020 09:57 865,467 rest-assured-4.3.3.jar
22/07/2012 09:23 90,722 tagsoup-1.2.1.jar
18 File(s) 12,895,868 bytes
2 Dir(s) 447,011,999,744 bytes free