for (Attachment attachment : requestAttachments) {
request.importAttachment(attachment);
}
}
} else {
HttpRequestStepFactory httpRequestStepFactory = new HttpRequestStepFactory();
HttpTestRequestStep test = (HttpTestRequestStep) testCase.insertTestStep(
httpRequestStepFactory.createConfig(me, "Monitor Request " + (row + 1)), -1);
test.getTestRequest().setRequestHeaders(excludeProxyHeaders(me.getRequestHeaders()));
HttpTestRequest request = (HttpTestRequest) test.getHttpRequest();