Search in sources :

Example 1 with RuntimeRequest

use of com.testsigma.web.request.RuntimeRequest in project testsigma by testsigmahq.

the class StandaloneAppBridge method updateRunTimeData.

@Override
public void updateRunTimeData(Long environmentResultId, RuntimeEntity runtimeEntity) throws AutomatorException {
    try {
        RuntimeRequest runtimeRequest = convertToObject(runtimeEntity, RuntimeRequest.class);
        runTimeDataService.updateRunTimeData(environmentResultId, runtimeRequest);
    } catch (Exception e) {
        log.error(e.getMessage(), e);
        throw new AutomatorException(e.getMessage(), e);
    }
}
Also used : AutomatorException(com.testsigma.automator.exceptions.AutomatorException) RuntimeRequest(com.testsigma.web.request.RuntimeRequest) AutomatorException(com.testsigma.automator.exceptions.AutomatorException) JsonProcessingException(com.fasterxml.jackson.core.JsonProcessingException)

Aggregations

JsonProcessingException (com.fasterxml.jackson.core.JsonProcessingException)1 AutomatorException (com.testsigma.automator.exceptions.AutomatorException)1 RuntimeRequest (com.testsigma.web.request.RuntimeRequest)1