Blazemeter / RTEPlugin

JMeter RTE (TN5250, TN3270 & VT420) plugin for testing Mainframe applications
Apache License 2.0
19 stars 11 forks source link

Error Connecting: Unknown 3270 Command: 00 #4

Closed ncybane1019 closed 4 days ago

ncybane1019 commented 5 years ago

Getting this error when trying to connect:

Unknown 3270 Command: 00 0000 00 00 00 00 00 F5 C2 11 40 40 29 01 C0 28 40 E3 .....5B. ..{. T 0010 C8 C9 E2 40 E3 C5 D9 D4 C9 D5 C1 D3 40 C3 D6 D5 HIS TERMINAL CON 0020 D5 C5 C3 E3 C5 C4 40 E3 D6 40 E3 C8 C5 40 D6 D7 NECTED TO THE OP 0030 C5 D5 C6 D9 C1 D4 C5 40 D6 C6 C7 E6 40 D6 D5 40 ENFRAME OFGW ON 0040 D7 D9 D6 C4 E4 C3 E3 C9 D6 D5 40 C5 D5 E5 4D C2 PRODUCTION ENV(B 0050 5D 11 C1 50 29 01 C0 20 40 11 C2 60 29 01 C0 20 ).A&..{. .B-..{. 0060 40 11 C3 F0 29 01 C0 20 40 11 C5 40 29 01 C0 20 .C0..{. .E ..{. 0070 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 0080 5C 5C 5C 5C 5C 5C 4B 40 40 5C 5C 5C 5C 5C 5C 5C **. * 0090 4B 40 40 5C 5C 5C 5C 5C 5C 4B 40 40 5C 5C 4B 40 . ****. . 00A0 40 40 5C 5C 4B 11 C6 50 29 01 C0 20 40 40 40 40 ..F&..{. 00B0 40 40 40 40 40 40 40 40 40 40 40 5C 5C 5C 5C 5C * 00C0 5C 5C 5C 4B 40 5C 5C 5C 5C 5C 5C 5C 4B 40 5C 5C *. *****. 00D0 5C 5C 5C 5C 5C 5C 4B 40 5C 5C 4B 40 40 40 5C 5C ****. . 00E0 4B 11 C7 60 29 01 C0 20 40 40 40 40 40 40 40 40 ..G-..{. 00F0 40 40 40 40 40 40 40 5C 5C 4B 4B 4B 4B 5C 5C 4B ..... 0100 40 5C 5C 4B 4B 4B 4B 4B 4B 40 5C 5C 4B 4B 4B 4B ...... .... 0110 5C 5C 4B 40 5C 5C 4B 40 40 40 5C 5C 4B 11 C8 F0 . . ..H0 0120 29 01 C0 20 40 40 40 40 40 40 40 40 40 40 40 40 ..{. 0130 40 40 40 5C 5C 4B 40 40 40 5C 5C 4B 40 5C 5C 4B . . . 0140 40 40 40 40 40 40 5C 5C 4B 40 40 40 4B 4B 4B 40 . ... 0150 5C 5C 4B 40 40 40 5C 5C 4B 11 4A 40 29 01 C0 20 . ..¢ ..{. 0160 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 5C 0170 5C 4B 40 40 40 5C 5C 4B 40 5C 5C 5C 5C 5C 5C 5C . . 0180 4B 40 5C 5C 4B 40 40 40 40 40 40 40 5C 5C 4B 5C . . . 0190 5C 4B 5C 5C 4B 11 4B 50 29 01 C0 20 40 40 40 40 *....&..{. 01A0 40 40 40 40 40 40 40 40 40 40 40 5C 5C 4B 40 40 . 01B0 40 5C 5C 4B 40 5C 5C 5C 5C 5C 5C 5C 4B 40 5C 5C *. . 01C0 4B 40 5C 5C 5C 5C 4B 40 5C 5C 4B 5C 5C 4B 5C 5C . **. .. 01D0 4B 11 4C 60 29 01 C0 20 40 40 40 40 40 40 40 40 ..<-..{. 01E0 40 40 40 40 40 40 40 5C 5C 4B 40 40 40 5C 5C 4B . . 01F0 40 5C 5C 4B 4B 4B 4B 4B 4B 40 5C 5C 4B 40 5C 5C ...... . 0200 5C 5C 4B 40 5C 5C 4B 5C 5C 4B 5C 5C 4B 11 4D F0 . ....(0 0210 29 01 C0 20 40 40 40 40 40 40 40 40 40 40 40 40 ..{. 0220 40 40 40 5C 5C 4B 40 40 40 5C 5C 4B 40 5C 5C 4B . . . 0230 40 40 40 40 40 40 5C 5C 4B 40 40 4B 5C 5C 4B 40 . .. 0240 5C 5C 5C 5C 5C 5C 5C 5C 4B 11 4F 40 29 01 C0 20 **..| ..{. 0250 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 5C * 0260 5C 5C 5C 5C 5C 5C 5C 4B 40 5C 5C 4B 40 40 40 40 ***. . 0270 40 40 5C 5C 5C 5C 5C 5C 5C 5C 4B 40 5C 5C 5C 4B ****. *. 0280 4B 5C 5C 5C 4B 11 50 50 29 01 C0 20 40 40 40 40 .*..&&..{. 0290 40 40 40 40 40 40 40 40 40 40 40 40 5C 5C 5C 5C ** 02A0 5C 5C 4B 4B 40 5C 5C 4B 40 40 40 40 40 40 40 5C .. *. 02B0 5C 5C 5C 5C 5C 5C 4B 40 5C 5C 4B 4B 40 40 5C 5C ****. .. 02C0 4B 11 D1 60 29 01 C0 20 40 40 40 40 40 40 40 40 ..J-..{. 02D0 40 40 40 40 40 40 40 40 40 4B 4B 4B 4B 4B 4B 40 ...... 02E0 40 40 4B 4B 40 40 40 40 40 40 40 40 4B 4B 4B 4B .. .... 02F0 4B 4B 4B 40 40 4B 4B 40 40 40 40 4B 4B 11 D2 F0 ... .. ...K0 0300 29 01 C0 20 40 40 40 40 40 40 40 40 40 40 40 40 ..{. 0310 40 40 40 40 40 11 D5 50 29 01 C0 20 40 40 40 40 .N&..{. 0320 40 40 40 40 40 40 40 40 40 40 40 40 40 11 D6 60 .O- 0330 29 01 C0 20 40 40 40 40 40 40 40 40 40 40 40 40 ..{. 0340 40 40 40 40 40 11 D7 F0 29 01 C0 28 40 C5 D5 E3 .P0..{. ENT 0350 C5 D9 40 D9 C5 C7 C9 D6 D5 40 D5 C1 D4 C5 7A 40 ER REGION NAME: 0360 11 D8 C4 29 01 C0 00 13 00 .QD..{... java.lang.Thread.getStackTrace(Unknown Source) com.bytezone.dm3270.utilities.Dm3270Utility.printStackTrace(Dm3270Utility.java:133) com.bytezone.dm3270.commands.Command.getCommand(Command.java:126) com.bytezone.dm3270.streams.TelnetListener.processRecord(TelnetListener.java:96) com.bytezone.dm3270.telnet.TelnetProcessor.listen(TelnetProcessor.java:62) com.bytezone.dm3270.streams.TelnetListener.listen(TelnetListener.java:56) com.bytezone.dm3270.streams.TerminalServer.run(TerminalServer.java:71) java.lang.Thread.run(Unknown Source) Uncaught Exception java.lang.NullPointerException. See log file for details.

rabelenda commented 5 years ago

Sadly the log lacks context on previous packets and status of the communication, so makes it very difficult to us to diagnose the cause why the plugin got such bytes and identify why is invalid.

Can you try capturing with wireshark the TCP packets generated by using the terminal emulator connecting to the server and going though the steps you want to test with the plugin and provide us with that? If it contains any sensitive information you can obfuscate/modify the data (e.g: replacing server ip with 1.1.1.1 or the like and any sensitive screen or input bytes with E7, you can get an idea what each byte is by checking each packet in wireshark interface).

Can you also tell us which is the terminal emulator you usually use to connect to the mainframe application?

With such information we can fix the plugin to behave the same way the terminal emulator does.

Thank you.