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 2019/04/23 11:51:04 UTC

[Bug 63378] New: Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

            Bug ID: 63378
           Summary: Junk character is getting added at the beginning of
                    the request XML when invoking IBM MQ v7 from Jmeter.
           Product: JMeter
           Version: 5.0
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: tanmoydandapat88@gmail.com
  Target Milestone: JMETER_5.1.1

Error Request:

^E³<?xml version="1.0"
encoding="utf-8"?><ChangeBasicServiceRequest><header><SourceSystem>CU</SourceSystem><orderNumber>101285025</orderNumber><OrderId>2030-04-22-13.01.53.240876</OrderId><RequestTime>2019-04-22-15.01.55.149995</RequestTime><Subscriber>62620040</Subscriber><IMSI>238011150032840</IMSI><Priority>5</Priority></header><body><SP_ID>01</SP_ID><SKIP_NETWORK>N</SKIP_NETWORK><ProductSettingInfo><basicservice><Name>BASIC_VOLTE</Name><action>ADD</action><MSISDN>62620040</MSISDN><ICC>89450100000913014304</ICC><IMSI>238011150032840</IMSI><PCR_FASE>0</PCR_FASE></basicservice><service><Name>BARR_MARITIME_DATA</Name><action>ADD</action></service><service><Name>EROTIC</Name><action>ADD</action></service><service><Name>EU_VOICE_DATA_INFOSMS2</Name><action>ADD</action></service><service><Name>GPRS_SPEED_150MBPS</Name><action>ADD</action></service><service><Name>M_PAY_SALDOMAX</Name><action>ADD</action></service><service><Name>PLAY_RES_MUSIC</Name><action>ADD</action></service><service><Name>RLAH_EU_DATA_01</Name><action>ADD</action></service><service><Name>ROAM_FUL_ANY</Name><action>ADD</action><ServiceParameters><name>PACKAGEID</name><value>ROAM_FUL_STD_10240</value></ServiceParameters></service><service><Name>ROAMLIMIT_50_WI</Name><action>ADD</action></service><service><Name>VOICEMAIL</Name><action>ADD</action></service><service><Name>WIFI_CALLING</Name><action>ADD</action></service></ProductSettingInfo></body></ChangeBasicServiceRequest>

Main Request:

<?xml version="1.0"
encoding="utf-8"?><ChangeBasicServiceRequest><header><SourceSystem>CU</SourceSystem><orderNumber>101285025</orderNumber><OrderId>2030-04-22-13.01.53.240876</OrderId><RequestTime>2019-04-22-15.01.55.149995</RequestTime><Subscriber>62620040</Subscriber><IMSI>238011150032840</IMSI><Priority>5</Priority></header><body><SP_ID>01</SP_ID><SKIP_NETWORK>N</SKIP_NETWORK><ProductSettingInfo><basicservice><Name>BASIC_VOLTE</Name><action>ADD</action><MSISDN>62620040</MSISDN><ICC>89450100000913014304</ICC><IMSI>238011150032840</IMSI><PCR_FASE>0</PCR_FASE></basicservice><service><Name>BARR_MARITIME_DATA</Name><action>ADD</action></service><service><Name>EROTIC</Name><action>ADD</action></service><service><Name>EU_VOICE_DATA_INFOSMS2</Name><action>ADD</action></service><service><Name>GPRS_SPEED_150MBPS</Name><action>ADD</action></service><service><Name>M_PAY_SALDOMAX</Name><action>ADD</action></service><service><Name>PLAY_RES_MUSIC</Name><action>ADD</action></service><service><Name>RLAH_EU_DATA_01</Name><action>ADD</action></service><service><Name>ROAM_FUL_ANY</Name><action>ADD</action><ServiceParameters><name>PACKAGEID</name><value>ROAM_FUL_STD_10240</value></ServiceParameters></service><service><Name>ROAMLIMIT_50_WI</Name><action>ADD</action></service><service><Name>VOICEMAIL</Name><action>ADD</action></service><service><Name>WIFI_CALLING</Name><action>ADD</action></service></ProductSettingInfo></body></ChangeBasicServiceRequest>

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #16 from Tanmoy <ta...@gmail.com> ---
please provide full syntax for debugging?

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

--- Comment #7 from Tanmoy <ta...@gmail.com> ---
Created attachment 36551
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36551&action=edit
Attached Log and .jmx file

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

--- Comment #5 from Tanmoy <ta...@gmail.com> ---
Please look into the issue and give us a solution ASAP.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Tanmoy <ta...@gmail.com> ---
OS Version- Windows 7
JVM Version- 11.0.1.0

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Can you post a minimal test, that reproduces this issue? And please supply the
used versions of your OS and JVM.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

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

--- Comment #15 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Closing as no feedback.

If issue persists, please reopen providing requested information.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #10 from Tanmoy <ta...@gmail.com> ---
Hello,

We have added below parameter in "bin\setenv.bat"
set JMETER_OPTS = "-Djavax.net.debug=all" 
but can't see any output message
please let us know how to add this parameter.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #9 from Felix Schumacher <fe...@internetallee.de> ---
Well, the jmx file is relatively small, but not a minimal test, that we could
use to reproduce the problem. It uses at least one class, that we don't have
access to.

You could try to add "-Djavax.net.debug=all" to JMETER_OPTS. This should log
all network traffic to stdout. You can then scan the output for the requests
and search for extra characters in front of the xml preamble.

And another note: do you really need wlclient.jar? If I remember correctly, it
contains a lot of non-wl-classes -- that I would therefore not bundle in one
jar -- and might "hijack" your http connection in the jvm by using a wl
implementation.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tanmoydandapat88@gmail.com

--- Comment #3 from Tanmoy <ta...@gmail.com> ---
Created attachment 36549
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36549&action=edit
Please see the attachment that can help to understand the issue.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #12 from Tanmoy <ta...@gmail.com> ---
Dear Felix,

"JVM_ARGS" is used to specify the initial and maximum memory allocation for JVM
so far we know. How can we use it to see the debug output? Can you please
provide the whole syntax what you need us to use.

Thank You

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #13 from Felix Schumacher <fe...@internetallee.de> ---
(In reply to Tanmoy from comment #12)
> Dear Felix,
> 
> "JVM_ARGS" is used to specify the initial and maximum memory allocation for
> JVM so far we know. How can we use it to see the debug output? Can you
> please provide the whole syntax what you need us to use.

JVM_ARGS is used to specify any additional Java argument you want to add.
Memory allocation options are the most used one, but the one I gave you is the
correct one. Output will be send to stdout.

But given that the queue is not addressed directly through JMeter classes, but
rather indirectly by your Java classes, I think it would be good, if you asked
the original implementer of your classes for help.
> 
> Thank You

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

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

--- Comment #17 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Tanmoy from comment #16)
> please provide full syntax for debugging?

Felix provide the JVM argument to add -Djavax.net.debug=all

Your issue is in your custom classes, there is nothing we can do to help more.
Please don't reopen issue unless you confirm issue is in JMeter.
Thank you

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

--- Comment #4 from Tanmoy <ta...@gmail.com> ---
Added below jar files

MQMETER.jar
wlclient.jar
connector.jar
com.ibm.mqetclient.jar
com.ibm.mqjms.jar
com.ibm.dhbcore.jar
com.ibm.mq.commonservices.jar
com.ibm.mq.headers.jar
com.ibm.mq.jar
com.ibm.mq.jmqi.jar
javax.jms-api-2.0.1.jar

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

--- Comment #8 from Tanmoy <ta...@gmail.com> ---
Created attachment 36552
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36552&action=edit
MQ.jmx

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #14 from Tanmoy <ta...@gmail.com> ---
Dear Felix,

As communicated, could you please provide full syntax for debugging?

Thank You

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #11 from Felix Schumacher <fe...@internetallee.de> ---
(In reply to Tanmoy from comment #10)
> Hello,
> 
> We have added below parameter in "bin\setenv.bat"
> set JMETER_OPTS = "-Djavax.net.debug=all" 
> but can't see any output message
> please let us know how to add this parameter.

Sorry, JMETER_OPTS seems to be unix/linux only. Use JVM_ARGS, as this is
available on all platforms.

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Tanmoy from comment #5)
> Please look into the issue and give us a solution ASAP.

Hello,
Can you provide your JMX plan or an excerpt with concerned message and
jmeter.log ?

Also, please understand that we all work on our spare time, so avoid such
formulation as "give us a solution ASAP".

Thank you

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

[Bug 63378] Junk character is getting added at the beginning of the request XML when invoking IBM MQ v7 from Jmeter.

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

Tanmoy <ta...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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