Load test will only run locally

46 posts, 0 answers
  1. Chad
    Chad avatar
    24 posts
    Member since:
    Mar 2015

    Posted 17 Nov 2015 in reply to Cody Link to this post

    Here is the message from the log file.

     

    [11/17 16:32:34,Telerik.TestStudio.Scheduling.Setup.exe(4912:1)] First trace message from process 4912: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.Scheduling.Setup.exe"
    [11/17 16:32:34,Telerik.TestStudio.Scheduling.Setup.exe(4912:1)] First trace message from foreground unnamed thread (managed ID = 1, native ID = 44).
    [11/17 16:32:34,Telerik.TestStudio.Scheduling.Setup.exe(4912:1),Execution] ServiceConfiguration.SaveAsConfig() : Config file found.
    [11/17 16:32:34,Telerik.TestStudio.Scheduling.Setup.exe(4912:1),Execution] ServiceConfiguration.SaveAsConfig() : Config file found.
    [11/17 16:32:43,Telerik.TestStudio.Scheduling.Setup.exe(4912:1),TestStudio] MongoDbServerConfigurationViewModel.ApplyMongoDbServerSettings() : EXCEPTION! (see below)
         Outer Exception Type: System.IO.FileNotFoundException
         Message: Could not load file or assembly 'YamlDotNet, Version=3.7.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e' or one of its dependencies. The system cannot find the file specified.
         HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
         Call Stack:
              at Telerik.TestStudio.Scheduling.Setup.ViewModels.MongoDbServerConfigurationViewModel.SaveMongoDbConfig()
              at Telerik.TestStudio.Scheduling.Setup.ViewModels.MongoDbServerConfigurationViewModel.ApplyMongoDbServerSettings()

  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 17 Nov 2015 Link to this post

    Hello,

    OK something is not right. That file should exist in our Bin folder as shown in the attached screen shot. Is it there? If you right click on it and select Properties -> Details, what file version does it report? If it's there and file version is 3.7.0.0 (which is the correct version) how are you running Configure as Scheduling Server?


    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Chad
    Chad avatar
    24 posts
    Member since:
    Mar 2015

    Posted 17 Nov 2015 in reply to Cody Link to this post

    That file is there and is the same version (3.7.0.0).  So far everything seems to be running ok.  I haven't tried any load tests yet though but I'll let you know.

     

    Thanks!

    Chad

  4. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 18 Nov 2015 Link to this post

    Hi Chad,

    So the mystery deepens. Since things seem to be working OK getting the configurator to run is almost academic. Still it would be good to nail down why it's not working as expected because it will block you from making any necessary changes in the future.

    To that end what happens if you go directly to the executable in our Bin folder and double click it to run it (see attached screen shot)? That should be the same as launching it from the start menu. Also what OS are you running?


    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. Chad
    Chad avatar
    24 posts
    Member since:
    Mar 2015

    Posted 18 Nov 2015 in reply to Cody Link to this post

    Hi Cody,

    I copied the YamlDotNet.dll file from another computer that has Test Studio installed and after that, no more error message when running Telerik.TestStudio.Scheduling.Setup.exe.  Not sure what caused all this but there is no more error message now when running the scheduling setup program.

  6. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 18 Nov 2015 Link to this post

    Hello,

    Wow that is an interesting discovery. I am so glad you found a good solution.

    Now to find out if load tests run remotely. I'll standby for your results when you can try this.

    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  7. Ryan
    Ryan avatar
    11 posts
    Member since:
    Sep 2014

    Posted 22 Dec 2015 in reply to Cody Link to this post

    Cody,

    We are running in to the issue with running load tests remotely and having the same issue as Chad.

    We have updated all runtime instances and test studio ultimate instances to the latest version of internal build.  I will say, the project i am working in and trying to run load tests remotely is a new project created under the MongoDB system.  My old project that was converted from sql to mongo seems to run fine and has no issues.

  8. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 22 Dec 2015 Link to this post

    Hi Ryan,

    Exactly which issue are you running into? Chad had more than one problem that we have to overcome. Please include any error messages or logs that you can supply describing the problem.

    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  9. Ryan
    Ryan avatar
    11 posts
    Member since:
    Sep 2014

    Posted 22 Dec 2015 in reply to Cody Link to this post

    I will get those to you.  The errors i was seeing were almost exactly the same as Chad's.  I did not however get an error on updating the schedule or storage service.  I did however run in to issue when running a load test it was stopping my scheduling server.  I submitted a support ticket separately from here.
  10. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 23 Dec 2015 Link to this post

    Hi Ryan,

    I think I see your support ticket that you're referring to, 997389 Problem with Running Load Tests. I also see that Ivaylo has responded to it. He's correcting asking for the application log. That is the next step in diagnosing the problem described in the your support ticket.

    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  11. Chad
    Chad avatar
    24 posts
    Member since:
    Mar 2015

    Posted 30 Dec 2015 Link to this post

    Hi Cody,

    I apologize for the long delay in response, I've had other priorities come up that had to be resolved.  I'm now back at the load tests that I'll be focusing on in the coming weeks.  I'm still experiencing the problem with load tests not running remotely.  I an get them to run when I select to run remotely and select the local machine, but when I select a remote machine the test fails.  Other functional tests will run fine on that same remote computer.  I've attached the local and remote computer logs along with the error displayed on the results screen.

    Also, if you guys are able to resolve Ryan's issue, would you be able to post the resolution so I can see if it may fix the problems I'm experiencing?

    Thanks!

    Chad

  12. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 31 Dec 2015 Link to this post

    Hello Chad,

    I'm not 100% certain, but based on this one entry:

    Message: No connection could be made because the target machine actively refused it 10.180.20.110:8039

    I am suspicious it's a firewall problem. The key difference between running a Web test and a Load test is that two extra processes are spawned for a load test which use two new TCP ports in the range 8032 - 8050. The port numbers we use is documented near the bottom of this page.


    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  13. Chad
    Chad avatar
    24 posts
    Member since:
    Mar 2015

    Posted 04 Jan in reply to Cody Link to this post

    Hi Cody,

    The error message about refusing the connection was actually due to the performance counter services not being started on the remote machines that had counters set up in this particular test.  Once I started the services, this error went away, but the load test still would not run remotely.  After much trial and error, I surmised that the problem was somehow related to the counters that were used in the test.  I got this one to run by removing and re-adding in the same counters, however other tests using the same counter template still worked fine.  Any idea what might have caused something like this?

     

    Thanks!

    Chad

  14. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 04 Jan Link to this post

    Hello Chad,

    Good detective work! I'm unable to explain why deleting and re-adding the same performance counters would make a difference. Are you 100% certain they were exactly the same counters? For example counters would fail if you try monitor performance of CPU core #8 on a machine that does not have 8 cores. You would have the same type of counters for all cores, but trying to monitor a specific device that doesn't exist would cause this kind of symptom.

    Regards,
    Cody
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  15. Chad
    Chad avatar
    24 posts
    Member since:
    Mar 2015

    Posted 14 Jan in reply to Cody Link to this post

    I deleted the counters and added them back in using the same template that I had used originally.  Not sure what went wrong but the load test is working again.

     

    Thanks for your help as always!

    -Chad

  16. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 15 Jan Link to this post

    Hello Chad,

    We are very happy to hear that.

    If you need further assistance please let us know.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top