You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/06/12 15:06:12 UTC

[Bug 61178] New: Jmeter Number format exception error occured for BIGINT parameter type

https://bz.apache.org/bugzilla/show_bug.cgi?id=61178

            Bug ID: 61178
           Summary: Jmeter Number format exception error occured for
                    BIGINT parameter type
           Product: JMeter
           Version: 3.2
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: em.lakshitha@gmail.com
  Target Milestone: ---

Jmeter Number format exception error occured for BIGINT parameter type so
how to fix this? below is the steps, see moredetails for stackoverflow link -->

https://sqa.stackexchange.com/questions/27605/jmeter-jdbc-request-parameter-type-bigint/27610#27610

 <<<<<JDBC request - prepared statement>>>>>>>

select * from prodcut where id = ?;

Parameter Value: ${productid}
Parameter Type: BIGINT


-------XML---

<name>pc</name>
<productid>53375078469956</prodcutid>


<<<<<<<<xpath xtractor values>>>>>>>>>>>>

prodcutid
//name/prodcutid

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61178] Jmeter Number format exception error occured for BIGINT parameter type

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61178

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Please ask user questions on the users mailing list.

Your xml is not well formed as it should have a root element not two (name and
productid). In your stackexchange question you misspelled productid at least
once.

And even when it would be well formed, the xpath wouldn't find the productid,
as it is not a child of name.

I would advise to (ask on the mailing list :) to use a debug sampler and look
for the value of the variable ${productid}.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61178] Jmeter Number format exception error occured for BIGINT parameter type

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61178

lak <em...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |em.lakshitha@gmail.com
                URL|                            |https://sqa.stackexchange.c
                   |                            |om/questions/27605/jmeter-j
                   |                            |dbc-request-parameter-type-
                   |                            |bigint/27610#27610
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61178] Jmeter Number format exception error occured for BIGINT parameter type

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61178

--- Comment #2 from lak <em...@gmail.com> ---

Debug sampler values shown like below, i'm pretty sure spellings are correct
now but number format exception for BIGINT data type

Debugsampler values

productid=53375078469956

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 61178] Jmeter Number format exception error occured for BIGINT parameter type

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61178

--- Comment #3 from lak <em...@gmail.com> ---
Question asked from users mailing list,

http://www.jmeter-archive.org/Jmeter-Number-format-exception-error-occured-for-BIGINT-parameter-type-td5725829.html

-- 
You are receiving this mail because:
You are the assignee for the bug.