Newer
Older
RestfulChecker / src / testcase / TestPUTCactus.java
y-ota on 3 Dec 2018 521 bytes testcaseを作成
package testcase;

import java.util.ArrayList;

import restfulchecker.*;
import restfulchecker.RestChecker.Method;

public class TestPUTCactus {
	private RestChecker check = new RestChecker();

	public TestPUTCactus(String userID, String userPass) {
		ArrayList<RestParam> form = new ArrayList<>();
		form.add(new RestParam("userID", userID));
		form.add(new RestParam("userPass", userPass));
		check.setupRestTest(Method.PUT, null, form, null);
	}

	public void start() {
		check.doRestTest();
	}
}