constructor()

in source/console/src/Components/Details/Details.js [19:56]


    constructor(props) {
        super(props);
        this.state = {
            isLoading: true,
            runningTasks: false,
            deleteModal: false,
            cancelModal: false,
            testId: props.location.state,
            testDuration: 0,
            data: {
                testName: null,
                testDescription: null,
                testType: null,
                fileType: null,
                results: {},
                history: [],
                taskCount: null,
                concurrency: null,
                rampUp: null,
                holdFor: null,
                endpoint: null,
                method: null,
                taskArns: [],
                testScenario: {
                    execution: [],
                    reporting: [],
                    scenarios: {}
                }
            }
        }
        this.deleteToggle = this.deleteToggle.bind(this);
        this.deleteTest = this.deleteTest.bind(this);
        this.cancelToggle = this.cancelToggle.bind(this);
        this.cancelTest = this.cancelTest.bind(this);
        this.handleStart = this.handleStart.bind(this);
        this.handleDownload = this.handleDownload.bind(this);
        this.caculateTestDurationSeconds = this.caculateTestDurationSeconds.bind(this);
    }