@Ignore
    public void threadsUsingGetPostDelete() throws Exception {
        OAuthAuthenticationBuilder builder = new OAuthAuthenticationBuilder();
        builder.username(username)
                .password(password)
                .grantType(grantType)
                .scope(scope)
                .clientId(clientId)
                .contentType(contentType)
                .baseUri(baseUri);

        RestClient client = new RestClient(baseUri,builder);
        System.out.println("-----------------------------------------------------");
        System.out.println("Threads:");
        List<Thread> threads = new ArrayList<Thread>();
        for (int i = 0; i < 20; i++) {
            Runnable task = new ThreadRestCall(client,String.valueOf(i));
            Thread worker = new Thread(task);
            // We can set the name of the thread
            worker.setName(String.valueOf(i));
            worker.start();

            // Remember the thread for later usage
            threads.add(worker);
        }
        for (int i = 0; i < 20; i++) {
            threads.get(i).run();
        }

        for (int i = 0; i < 20; i++) {
            threads.get(i).join();
        }
        System.out.println("End of the tests");
    }