Skip to main content
September 21, 2010
Answered

Load Testing - how 'bout now?

  • September 21, 2010
  • 1 reply
  • 971 views

Hello Adobe,

I see where all queries regarding load testing FMS/FMIS servers are given the link :

http://www.richinternet.de/blog/index.cfm?entry=6EA082F4-A85E-FD95-A8AB8C7A1770D09A

I found that one on my own.

fmscheck commands run OK on Windows XP in command window, BUT I get inavlid argument error for same code when placing it in a batch file to invoke a looping of same code.

Reckon anyone by now has found a way to flog the fmscheck.exe in a way that serves to load test a box?

For VOD and Live?

    This topic has been closed for replies.
    Correct answer

    Hi,

    The logic seems to be correct but I guess the issue you are facing is with some wrong spaces or characters somewhere.

    Trying copying this script, this may work well for you -

    set /A counter = 0
    :start
    start /B fmscheck.exe --host localhost --app vod --play sample 0 10 --logfile output.txt
    set /A counter = %counter% + 1
    IF %counter% LEQ 100 goto :start

    Where vod is my application, sample my test flv file and 0 10 are start and duration parameters.

    If you need help with the details of the tool, you may want to consult this - http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f29261b7-7fe8.html

    Hope this works.

    1 reply

    September 21, 2010

    OBTW - this is the batch file/fmscheck code for VOD testing from

    Richinternet.blog...

    VOD-szenario (Application “vod” with VideoFile “vidfile” must exist):

    set /A counter = 0
    :start
    start /B fmscheck.exe –host localhost –app vod –play vidfile 0 all –timeout 360
    set /A counter = %counter% + 1
    IF %counter% LEQ 100 goto :start

    I use IP for our FMIS server, I have vidfile.flv in VOD\Media

    In a batch file, I always get "fmscheck fail: invalid argument...

    If I type fmscheck line only into command window, it works..

    September 21, 2010

    Another clue...

    when I screen capture to see what's happening with batch file running,

    I notice that the   -  character in fmscheck string converts to a letter u with a ^ over it.

    Is there a syntax issue, do I need to escape the - character somehow?

    Correct answer
    September 22, 2010

    Hi,

    The logic seems to be correct but I guess the issue you are facing is with some wrong spaces or characters somewhere.

    Trying copying this script, this may work well for you -

    set /A counter = 0
    :start
    start /B fmscheck.exe --host localhost --app vod --play sample 0 10 --logfile output.txt
    set /A counter = %counter% + 1
    IF %counter% LEQ 100 goto :start

    Where vod is my application, sample my test flv file and 0 10 are start and duration parameters.

    If you need help with the details of the tool, you may want to consult this - http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f29261b7-7fe8.html

    Hope this works.