Comments (10)
Can you please double check the content of the attached Jmeter_log.txt?
from jmeter-iso8583.
Sorry, I attached wrong one, which is downloaded from other issue.
Here you are.
jmeter.log
from jmeter-iso8583.
Can you double check your bitmap has the correct class in the packager?
from jmeter-iso8583.
Here is the Packager Configuration file "D:/UTILS/apache-jmeter-5.3/extras/base24.xml".
base24.zip
It uses IFA_BITMAP, ASCII bitmap that is what we use.
The bitmap in the request is built according this packager and the response bitmap with additional bit 39 only as shown in ws-log.txt I attached.
request bitmap:82200000000000000400000000000000
response bitmap:82200000020000000400000000000000
Please advise.
from jmeter-iso8583.
It appears that the packager tries to unpack the data inclusive of the message header, i.e.
new org.jpos.iso.ISOMsg().with {
setPackager(new org.jpos.iso.packager.GenericPackager('c:/temp/base24.xml'))
unpack(org.jpos.iso.ISOUtil.hex2byte('49534F303035303030303636303831303832323030303030303230303030303030343030303030303030303030303030303631393036333034373437323837353030333031'))
dump(System.out, '')
}
This reproduces the error you get in the JMeter log.
You may want to try specifying the header length in the packager:
<!-- BASE24 field descriptions for GenericPackager -->
<isopackager headerLength="12">
from jmeter-iso8583.
Thanks, I find the header shall not be configured in Message header, it shall be on Channel header instead, and this headerLength is not required.
from jmeter-iso8583.
@wayne5168 would you mind sharing how you configured the Channel for others we come across this issue?
Thanks!
from jmeter-iso8583.
I put the message header value "ISO005000060" in Channel Header.
The request and response will be as following, it can be accepted by jmeter.
ISO0050000600800822000000000000004000000000000000623095337012624301
ISO005000066081082200000020000000400000000000000062301534701262400301
If I put the "ISO005000060" with hex "49534F303035303030303630" in Message Header (hex) with headerLength="12" or any other value, the request will repeat the header in the request as
ISO005000060ISO0050000600800822000000000000004000000000000000623102257685856301.
Put the header in Channel Header is what my solution to solve this issue.
By the way, since the Channel Header can only put ASCII string, if I want to put binary in the header then this solution seems don't work. I am studying the document to find out the possible solution.
I appreciate if you can show me some guide or tips.
Thank you very much.
from jmeter-iso8583.
Thanks, @wayne5168 for posting this.
Re binary values in the Channel header:
The jPOS API only supports string values, so perhaps you could try embedding non-ASCII characters with the JMeter function __char.
from jmeter-iso8583.
@wayne5168 - can we talk on this issue as we are getting challenges in iso 8583 echo message implementation?
from jmeter-iso8583.
Related Issues (20)
- Iso trailer field issue HOT 2
- iso8583 non blocking iso8583 send and receive HOT 3
- Not receiving response data (body or header) in ISO 8583 using JMeter5.4 HOT 41
- Please add ready to use jmx scenario for iso8583 HOT 3
- bitmap issue HOT 3
- Send message to mq with “queue name, channel name, …” through jmeter-iso8583 plugin HOT 20
- jmeter-iso8583 reply to request that recieve HOT 1
- Server simulator HOT 3
- ISO8583 - Server mode - Sign on message issue HOT 3
- Mac algorithm DESEDE ANSI X9.19 HOT 21
- edit packager configuration through jemter ui like "ISO8583 Message Component" HOT 1
- use value of fields in one sampler as variable in another sampler for creating 420 (reverse message) HOT 6
- packager iso2003ascii.xml HOT 1
- Using single jmeter instance to generate request and response HOT 18
- put generated message of jmeter iso8583 in jrs223 sample as variable HOT 1
- Use MAC Generation function in JRS223 (groovy script) HOT 1
- variables not pass to jpose-q2 for custom channel HOT 2
- feature that generate mac in ISO8583 Crypto PreProcessor UI based on specific fields HOT 6
- Feature generate field 35 (track2) in iso8583 plugin HOT 3
- Feature Listbox for fields in iso 8583 sampler HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmeter-iso8583.