Re: [Grinder-use] Fwd: Problem changing grinder properties
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
|
From: Salma B. <sal...@gm...> - 2013-09-25 11:00:39
|
Thank you
On Sep 16, 2013 6:01 PM, "Marc Holden" <mho...@gm...> wrote:
> Hi Salma
>
> This is a windows thing. Windows expects double quotes around arguments
> instead of single quote. To fix this simply place double quotes around the
> -d argument and escape the double quotes within the json body itself.
>
> -d "{\"propertiesFile\":\"grinder.properties\"}"
>
> The examples on the grinder site were done on linux which accepts the
> single quotes.
>
>
> -Marc
>
>
> On Mon, Sep 16, 2013 at 4:33 AM, Salma Bouriat <sal...@gm...>wrote:
>
>> Hello,
>>
>> First, thank you for the quick tutorial, but I am having a problem
>> changing the grinder properties: I run the command the following command
>> from the grinder file (version 3.11):
>>
>> curl -X PUT -H "Content-Type: application/json"
>> http://localhost:6373/properties -d
>> '{"propertiesFile":"grinder.properties"}'
>>
>> The resulting error comes from the json parser saying that there is an
>> unexpected character (find attached a snapshot of the execution and the
>> error)
>>
>> Thank you very much for the help
>>
>> Have a good day
>>
>>
>> --
>> Salma BOURIAT
>> Master of Science in Software Engineering
>> Al Akhawayn University
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>> SharePoint
>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>> includes
>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> grinder-use mailing list
>> gri...@li...
>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>
>>
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> grinder-use mailing list
> gri...@li...
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>
|