super(true, messageExchange, MessageExchangeModelItem.MESSAGE_EXCHANGE);
}
public StringToStringMap getHeaders() {
if (getModelItem().getMessageExchange() instanceof AMFTestStepResult) {
AMFTestStepResult messageExchange = (AMFTestStepResult) getModelItem().getMessageExchange();
if (((AMFRequestTestStep) messageExchange.getTestStep()).getAMFRequest().getResponse() != null) {
return ((AMFRequestTestStep) messageExchange.getTestStep()).getAMFRequest().getResponse()
.getResponseAMFHeaders();
} else {
return new StringToStringMap();
}