Project project = testCase.getTestSuite().getProject();
List<String> options = new ArrayList<String>();
TupleList<RestMethod, RestRequest> restMethods = new TupleList<RestMethod, RestRequest>();
for (int c = 0; c < project.getInterfaceCount(); c++) {
Interface iface = project.getInterfaceAt(c);
if (iface instanceof RestService) {
List<RestResource> resources = ((RestService) iface).getAllResources();
for (RestResource resource : resources) {
// options.add( iface.getName() + " -> " + resource.getPath() );
// restMethods.add( resource, null );
for (RestMethod method : resource.getRestMethodList()) {
String methodStr = iface.getName() + " -> " + resource.getPath() + " -> " + method.getName();
restMethods.add(method, null);
options.add(methodStr);
for (RestRequest request : method.getRequestList()) {
restMethods.add(method, request);