You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Yuvarajl <yu...@gmail.com> on 2007/10/24 11:34:46 UTC

Date field value is not properly inserted when i run jmeter scripts

I saved a data entry form after entering a value in text box and  selecting 
a date from date control  using Jmeter script.

But date is not inserted in the database after running the jmeter script.

But when i manually run that scenario,it works fine.

My question is why jmeter does not recognize the data value sometimes? 

But in previous times,script runs succeessfully with date control.

This issue occurs suddenly.

Could any of you tell me the reason?
-- 
View this message in context: http://www.nabble.com/Date-field-value-is-not-properly-inserted-when-i-run-jmeter-scripts-tf4683232.html#a13382247
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Date field value is not properly inserted when i run jmeter scripts

Posted by Yuvarajl <yu...@gmail.com>.
Hi sebb,

I rerecorded the script and then only i tried..

Still the issue is there..






sebb-2 wrote:
> 
> On 25/10/2007, Yuvarajl <yu...@gmail.com> wrote:
>>
>> hi sebb,
>>
>> My scenario is saving a data entry form by entering a value in text box
>> and
>> selecting
>> a date from date control.
>>
>> In the prevoius builds given by the Dev team, i am able to save the data
>> entry form with date value while running corresponding jmeter script..
>>
>> But in the current build ,i am able to save the data entry form.
>> But date value alone is not iserted in the database while running
>> corresponding jmeter script.
> 
> Did you try re-recording the script?
> Perhaps the new build uses a different method for processing the date
> field.
> E,g, maybe the field name has changed.
> 
> JMeter does not know which entries on a form were selected; it just
> sees the data that the browser sends.
> 
>> But in the current build itself, when i save data entry form manually
>> ,this
>> issue does not occur.
>>
>> Is there any setting in JMeter to make JMeter recognize date value from
>> date
>> control properly?
>>
>> Thanks for your reply.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Date-field-value-is-not-properly-inserted-when-i-run-jmeter-scripts-tf4683232.html#a13401830
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Date-field-value-is-not-properly-inserted-when-i-run-jmeter-scripts-tf4683232.html#a13505977
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Date field value is not properly inserted when i run jmeter scripts

Posted by sebb <se...@gmail.com>.
On 25/10/2007, Yuvarajl <yu...@gmail.com> wrote:
>
> hi sebb,
>
> My scenario is saving a data entry form by entering a value in text box and
> selecting
> a date from date control.
>
> In the prevoius builds given by the Dev team, i am able to save the data
> entry form with date value while running corresponding jmeter script..
>
> But in the current build ,i am able to save the data entry form.
> But date value alone is not iserted in the database while running
> corresponding jmeter script.

Did you try re-recording the script?
Perhaps the new build uses a different method for processing the date field.
E,g, maybe the field name has changed.

JMeter does not know which entries on a form were selected; it just
sees the data that the browser sends.

> But in the current build itself, when i save data entry form manually ,this
> issue does not occur.
>
> Is there any setting in JMeter to make JMeter recognize date value from date
> control properly?
>
> Thanks for your reply.
>
> --
> View this message in context: http://www.nabble.com/Date-field-value-is-not-properly-inserted-when-i-run-jmeter-scripts-tf4683232.html#a13401830
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Date field value is not properly inserted when i run jmeter scripts

Posted by Yuvarajl <yu...@gmail.com>.
hi sebb,

My scenario is saving a data entry form by entering a value in text box and 
selecting 
a date from date control.

In the prevoius builds given by the Dev team, i am able to save the data
entry form with date value while running corresponding jmeter script..

But in the current build ,i am able to save the data entry form.
But date value alone is not iserted in the database while running
corresponding jmeter script.

But in the current build itself, when i save data entry form manually ,this
issue does not occur.

Is there any setting in JMeter to make JMeter recognize date value from date
control properly?

Thanks for your reply.

-- 
View this message in context: http://www.nabble.com/Date-field-value-is-not-properly-inserted-when-i-run-jmeter-scripts-tf4683232.html#a13401830
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Date field value is not properly inserted when i run jmeter scripts

Posted by sebb <se...@gmail.com>.
I don't fully understand what you are doing or what you think is going wrong.

Are you saying that playback of the recorded script sometimes works,
but sometimes does not? Or does it never work?

Have you added a Cookie Manager to the test plan?

On 24/10/2007, Yuvarajl <yu...@gmail.com> wrote:
>
> I saved a data entry form after entering a value in text box and  selecting
> a date from date control  using Jmeter script.
>
> But date is not inserted in the database after running the jmeter script.
>
> But when i manually run that scenario,it works fine.
>
> My question is why jmeter does not recognize the data value sometimes?
>
> But in previous times,script runs succeessfully with date control.
>
> This issue occurs suddenly.
>
> Could any of you tell me the reason?
> --
> View this message in context: http://www.nabble.com/Date-field-value-is-not-properly-inserted-when-i-run-jmeter-scripts-tf4683232.html#a13382247
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org