Current time: 01-23-2019, 04:42 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The test completed but there were no successful results.
01-08-2019, 01:04 AM
Post: #1
The test completed but there were no successful results.
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
Find all posts by this user
Quote this message in a reply
01-08-2019, 11:59 PM
Post: #2
RE: The test completed but there were no successful results.
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-18-2019, 12:08 AM
Post: #3
RE: The test completed but there were no successful results.
Thank you! I improved it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)