Forum Discussion

pgardella's avatar
16 years ago

New Runner - CSV

I would like to create a new Runner that would load a random line from a CSV file on each iteration, and then run it just like the Web Page Runner does now.

This is probably undocumented, but possible. Is it?

Patrick

27 Replies

  • Hi Johan,

    can you share your project with us, together with the list of URLs, so we can try to reproduce?

    regards,

    /Ole
    eviware.com
  • yclim1's avatar
    yclim1
    New Contributor
    Hi,

    I have created a project based on the instructions in http://blog.smartbear.com/post/10-10-01 ... i---part-2 using loadUI version 1.5.0

    I have the problem where the table log is able to show the different urls
    http://test.eviware.com/index.html
    http://test.eviware.com/userguide.html
    etc. under the URL column but the responses are the same for all the requests. The response is based on the Web Page Address in Web Page Runner component (http://test.eviware.com). This is exactly the same issue posted by JohanSandberg (09 Feb 2011 14:19).

    I also tried the solution by changing
    message['URL'] = url
    to
    message['url'] = url
    and leave the Web Page Address value empty but unfortunately it didn't work. After i clicked the play button, nothing happened (Requests count is 0, Completed count is 0, Table log is empty etc.) except the 'Time' value changed.

    Any idea? Thanks in advance.
  • Hi!

    Ole, who made the component, will be back from vacation soon. I'll let him know about this topic

    Henrik
    SmartBear Software
  • Hi there,

    hmm... have you upgraded to the nightly build of 1.5.x ?

    regards,

    /Ole
    SmartBear Software
  • yclim1's avatar
    yclim1
    New Contributor
    Hi!

    Sorry, not so sure about the nightly build version. Mine is a fresh install of the latest version by using the loadUI-1_5_0.exe

    loadUI Version 1.5.0
    Build version: loadUI-Dist-2011-06-13-[3]
    Build date: 2011/06/13 20:56

    Is this the correct version? Thanks.
  • yclim1's avatar
    yclim1
    New Contributor
    Hi,

    I have installed the nightly build version and still getting the same results.
    If use message['URL'] with value in Web Page Address will get different urls but same responses in table log.
    If use message['url'] without value in Web Page Address will not get any results in table log.
    I got this results for both loadUI Version 1.5.0 and also the nightly build version (loadUI Version 1.5.1-SNAPSHOT).

    Thanks.