Package com.denimgroup.threadfix.remote

Examples of com.denimgroup.threadfix.remote.ThreadFixRestClientImpl


    @Ignore
    @Test
    public void testTask() {
        String scannerList = "OWASP Zed Attack Proxy";
        ThreadFixRestClient client = new ThreadFixRestClientImpl(new TestPropertiesManager());

        RestResponse<Task> response = client.requestTask(scannerList, "");

        assertTrue(response != null && response.object != null);
    }
View Full Code Here


public class TestUtils {

    public static ThreadFixRestClient getConfiguredClient() {
        assert System.getProperty("REST_URL") != null : "The REST_URL system property is required to run this test.";
        assert System.getProperty("API_KEY") != null : "The API_KEY system property is required to run this test.";
        return new ThreadFixRestClientImpl(System.getProperty("REST_URL"), System.getProperty("API_KEY"));
    }
View Full Code Here

TOP

Related Classes of com.denimgroup.threadfix.remote.ThreadFixRestClientImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.