WebPagetest Forums
The test completed but there were no successful results. - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: The test completed but there were no successful results. (/showthread.php?tid=15611)



The test completed but there were no successful results. - ilngr - 01-08-2019 01:04 AM

Hi there,

I'm trying to run tests for my bachelor thesis. But I get "The test completed but there were no successful results." and "First View: Test Data Missing".

I use the webpagetest-api from marcel duran. The data goes correctly to wpt. I get this response:
Code:
{
    statusCode: 200,
    statusText: 'Ok',
    data: {
        testId: '190107_84_7f5cb6a3b2c67ef99ecce5db6d2f0c1e',
        ownerKey: '18c469502d293f577c49d57540045bdfe10e34b0',
        jsonUrl: 'https://www.webpagetest.org/jsonResult.php?test=190107_84_7f5cb6a3b2c67ef99ecce5db6d2f0c1e',
        xmlUrl: 'https://www.webpagetest.org/xmlResult/190107_84_7f5cb6a3b2c67ef99ecce5db6d2f0c1e/',
        userUrl: 'https://www.webpagetest.org/result/190107_84_7f5cb6a3b2c67ef99ecce5db6d2f0c1e/',
        summaryCSV: 'https://www.webpagetest.org/result/190107_84_7f5cb6a3b2c67ef99ecce5db6d2f0c1e/page_data.csv',
        detailCSV: 'https://www.webpagetest.org/result/190107_84_7f5cb6a3b2c67ef99ecce5db6d2f0c1e/requests.csv'
    }
}

This is my script:
Code:
script: [
            {addHeader: "X-Sitespeed-CPHD: cc...89"},
            {logData: 0},
            {navigate: "https://www.mypage.com/test.html"},
            {logData: 1},
            {click: ["data-filter-id=123"]},
        ]

My options:
Code:
options:
            {
                connectivity: 'Cable',
                location: 'Berlin',
                runs: 1,
                repeatView: false,
                video: false,
                f: "json",
                netLog: true,
            }

This worked last week and I assume it could be an wpt issue.

Would be great to get some help!

Thank you!
i


RE: The test completed but there were no successful results. - pmeenan - 01-08-2019 11:59 PM

That "click" command doesn't look like it is valid and it would have to be a clickAndWait if you actually wanted it to measure something. You are better off using execAndWait with javascript that does the click you are trying to do instead - that way you can test the javascript locally before running the test.


RE: The test completed but there were no successful results. - ilngr - 01-18-2019 12:08 AM

Thank you! I improved it.