Fix: parallel sampler plugin is broken in JMeter 5.6.x

Parallel sampler is broken in JMeter 5.6.x:
java.lang.ClassCastException: class java.util.IdentityHashMap cannot be cast to class java.util.HashMap (java.util.IdentityHashMap and java.util.HashMap are in module java.base of loader 'bootstrap')
	at com.blazemeter.jmeter.controller.JMeterThreadParallel.cloneTestCompiler(JMeterThreadParallel.java:45) ~[jmeter-parallel-0.11.jar:?]
	at com.blazemeter.jmeter.controller.JMeterThreadParallel.copyCompilerFromParent(JMeterThreadParallel.java:36) ~[jmeter-parallel-0.11.jar:?]
	at com.blazemeter.jmeter.controller.JMeterThreadParallel.<init>(JMeterThreadParallel.java:26) ~[jmeter-parallel-0.11.jar:?]
	at com.blazemeter.jmeter.controller.ParallelSampler.sample(ParallelSampler.java:71) ~[jmeter-parallel-0.11.jar:?]
	at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:651) ~[ApacheJMeter_core.jar:5.6.2]
	at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:570) ~[ApacheJMeter_core.jar:5.6.2]
	at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:501) [ApacheJMeter_core.jar:5.6.2]
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268) [ApacheJMeter_core.jar:5.6.2]
	at java.lang.Thread.run(Thread.java:833) [?:?]

I simply removed the cast to HashMap (as Field.set accepts an Object anyway).

Since TestCompiler now uses IdentityHashMap (and strictly enforces the field to be of that type), it's necessary to create the same map.

The only downside is the new code is only compatible with JMeter 5.6.x.

hi jloisel,
can u please provide me the  modified jmeter-parallel-0.11.jar

Here is the modified JMeter Parallel Plugin (version 0.12) which supports Apache JMeter 5.6+.
jmeter-parallel-0.12.zip

Here is the modified JMeter Parallel Plugin (version 0.12) which works with Apache JMeter 5.6+.
jmeter-parallel-0.12.zip

Hello, it's work thanks

It didn't worked for me, at the end it's causing this error "One or more test threads won't exit; see log file.", after checking log file I found it's happening only when it has started a thread from the parallel controller.

Installed ParallelController 0.12 from this thread. Not sure if it has something to do with 0.12 but it eats up all my 65k ports in Windows quickly.

I just changed the code to make it compatible with JMeter 5.6+, if you are experiencing issues it's either possibly still another compatibility issue with JMeter 5.6+ or a bug which was already present in previous versions of this plugin.

Is there any update on this PR ? We are unable to use 5.6.2 JMeter due to this issue

Any update on this would be appreciated ?

It seems like, from the lack of activity on this repository, that they don't maintain the parallel sampler anymore.

jmeter-parallel-0.12.zip
JMeter Parallel Sampler Plugin 0.12 with backward compatibility with JMeter <= 5.5 and compatibility with JMeter 5.6+.

Do you have any alternate project that can replace this plugin ? @jloisel

@jloisel Thank you very much! It's a pity that this project is no longer being updated. Many of these plugins were a great addition to jmeter. In modern applications, browsers often make requests in parallel. Other plugins were also important. Great to have you here.

Hello everyone,
First of all, I want to thank you all for your participation and feedback on the plugin. It's always nice to see such an active and supportive community
@johnmax132, I'm glad to hear that the modified plugin provided by @jloisel works well for you
For those facing issues, @Aditya9056, @dbt-lucka and @PavanMudigondaTR, I appreciate your patience and troubleshooting efforts. It is demoralizing to hear about the challenges you faced and I completely understand the frustration
@PavanMudigondaTR, I like the proactive approach of forking the project. Collaborative efforts within the community can lead to a better plugin, that also applies to any other project out there...
@jloisel, my man, thank you very much for your dedication to maintaining and updating the plugin 🙌
Regarding concerns about lack of repository activity, I share the view that maintaining open source projects can be a challenge. I don't maintain this particular project but I'm willing to help as I have enough privileges to assist here.
I will catch up with the plugin, replicate the issue, review your changes and do a QA on this PR.
I will get back to all once I have progress.
Thank you all for your contributions, comments and support. Let's keep the spirit of open source alive 🤞

Thank you all for your contributions. Especially to you @jloisel!
I'll merge this PR and start working on the release. I suggest you add yourselves to the Watch list to get notified about the new version!

Hello,
In case anyone missed it. @jloisel fixes are public available via JMeter Plugins Manager
Thanks to everyone!

Hello,
In case anyone missed it. @jloisel fixes are public available via JMeter Plugins Manager
Thanks to everyone!

really appreciated @Baraujo25


False FAIL for VIN in <IP_ADDRESS>e - TOOL Issue

12:03:09.1071 Global VIN Request
12:03:09.1103 18EAFFF9 [3] EC FE 00 (TX)
12:03:09.2952 18FEEC00 [18] 31 58 50 42 44 4B 39 58 31 4C 44 37 30 38 31 39 35 2A
Vehicle Identification from Engine #1 (0): 1XPBDK9X1LD708195
FAIL: <IP_ADDRESS>.e - VIN is not valid (not 17 legal chars, incorrect checksum, or non-numeric sequence
Version detected in - J1939-84 Tool version 3.0.7
The VIN is reported correctly and the checksum is also correct. Why is there a FAIL VIN not valid?

@vmuthu2 , that VIN invalid.  The checksum is not correct.

The source of truth can be found at govinfo.gov

Vimal, I don’t see a need for a change, do you have a rebuttal argument?

Might explain the problem with the brand F Vin early too
Sent from my iPad

On Apr 30, 2021, at 8:13 AM, Matt Gumbel @.***> wrote:

@ericthomasswenson , I have a rebuttal. It is a valid bug. The fractional remainder is "0.091" which should be '1' not 'X'. I mis-read the spec.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Fail if the check digit (ninth character) does not match the expected check digit as calculated by the test software per §565.15(c).

Glad to see this resolved.


Fix react starter security advisory.

A Brief Overview
Upgrade minimist version
Additional context
BroadleafCommerce/QA#3991

@putrenkov yarn.lock is the only file change for this?


Hi not sure what i'm doing wrong.

Hello @arnonym,
For some time not i have installed your "add-on" running on a RPi4b 2GB and i have my system setup as you shown on the main page.
I added the automation to call my dect phone as well like you have shown. Sadly my phone is not being called,
In the add-on log log i see the following messages:
15:21:41.954           pjsua_core.c  .TX 513 bytes Request msg REGISTER/cseq=25401 (tdta0x2ec29998) to UDP <IP_ADDRESS>:5060:
REGISTER sip:fritz.box SIP/2.0
Via: SIP/2.0/UDP <IP_ADDRESS>:5060;rport;branch=z9hG4bKPj1kx6M2IJGqmSsvCtC07fQv3WrnNSzTOU
Max-Forwards: 70
From: <sip:homeassistant@fritz.box>;tag=aNERO89mIhifqETHj78u.LBrDplL4xyA
To<EMAIL_ADDRESS>Call-ID: SPEPR-8xLjuWNUJVU48wvEzTxJhzRjV5
CSeq: 25401 REGISTER
Contact: <sip:homeassistant@<IP_ADDRESS>:5060;ob>;+sip.ice
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length:  0

--end msg--

every 4 seconds and when i try to call i see:
5:25:56.593           pjsua_core.c  .TX 1702 bytes Request msg INVITE/cseq=15482 (tdta0x2ec32978) to UDP <IP_ADDRESS>:5060:
INVITE<EMAIL_ADDRESS>SIP/2.0
Via: SIP/2.0/UDP <IP_ADDRESS>:5060;rport;branch=z9hG4bKPjMuGiUKbBRSiTUz3rkwPvMJYE6UXvoKC1
Max-Forwards: 70
From: sip:homeassistant@fritz.box;tag=8ublClS08Xgzbq6Qd-p7QzTHnFPi-uWW
To<EMAIL_ADDRESS>Contact: <sip:homeassistant@<IP_ADDRESS>:5060;ob>;+sip.ice
Call-ID: C9rDQGJOwslLEWV88PNbbW3.9Ej1.QHM
CSeq: 15482 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length:  1096

v=0
o=-<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 4005 RTP/AVP 96 97 98 99 3 0 8 9 120 121 122
c=IN IP4 <IP_ADDRESS>
b=TIAS:64000
a=rtcp:4034 IN IP4 <IP_ADDRESS>
a=sendrecv
a=rtpmap:96 speex/16000
a=rtpmap:97 speex/8000
a=rtpmap:98 speex/32000
a=rtpmap:99 iLBC/8000
a=fmtp:99 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:120 telephone-event/16000
a=fmtp:120 0-16
a=rtpmap:121 telephone-event/8000
a=fmtp:121 0-16
a=rtpmap:122 telephone-event/32000
a=fmtp:122 0-16
a=ssrc:625480157 cname:53a1fecf5b3591b7
a=ice-ufrag:2970b647
a=ice-pwd:3fae5d3f5594acb4432232b2
a=candidate:Hc0a8b231 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 4005 typ host
a=candidate:Hac11e801 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 4005 typ host
a=candidate:Hac1e2001 1 UDP<PHONE_NUMBER> <IP_ADDRESS> 4005 typ host
a=candidate:Hc0a8b231 2 UDP<PHONE_NUMBER> <IP_ADDRESS> 4034 typ host
a=candidate:Hac11e801 2 UDP<PHONE_NUMBER> <IP_ADDRESS> 4034 typ host
a=candidate:Hac1e2001 2 UDP<PHONE_NUMBER> <IP_ADDRESS> 4034 typ host
--end msg--

not sure what it all means. so i hope you can help out?
thanks

I cannot see an actual error in the log snippets you posted. From my experience the logging of many messages in a short amount of time could be an authentication problem.  So the first thing I would do is to re-check the sip user and password created on the fritz.box.
Other than that you can decrease the log level in the add-on config to 2 or 3 to remove some of the noise and post a complete log again.

Okay, after checking again i found a small issue, with the authentication idd. Now it works cleanly.
Thanks for your time.
PS. between taking up the phone and hearing the message can take a will, do you have an idea to get the message faster or add some static noise before the message is played?

First thing you can try is to set settle_time: 0 in the sip config. The other thing that takes time is to get the TTS message and convert that to wav format. May I ask what your internet connection bandwith is?


Fixed small typo in reminder mail

Small fix for a typo in the november reminder mail

Brilliant, thanks!


Crust update to mio

This change is

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)


Compile Firmware Errors "about cmake and build/"

make  px4_fmu-v2_default
make[1]: 正在进入目录 `/home/PX4/workspace/PX4/FIR/Firmware'
-- PX4 config file: /home/PX4/workspace/PX4/FIR/Firmware/boards/px4/fmu-v2/default.cmake
CMake Error at platforms/nuttx/cmake/px4_impl_os.cmake:123 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "prebuild_targets".

Call Stack (most recent call first):
  cmake/px4_add_board.cmake:227 (px4_os_prebuild_targets)
  boards/px4/fmu-v2/default.cmake:2 (px4_add_board)
  CMakeLists.txt:215 (include)

-- PX4 config: px4_fmu-v2_default
-- PX4 platform: nuttx
-- PX4 lockstep: disabled
-- PX4 version: v1.9.0-649-g7adc43b
-- cmake build type: MinSizeRel
-- The CXX compiler identification is GNU 4.9.3
-- The C compiler identification is GNU 4.9.3
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-none-eabi-gcc
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- ccache enabled (export CCACHE_DISABLE=1 to disable)
-- Found PythonInterp: /usr/bin/python (found version "2.7.6")
-- Found PY_jinja2: /usr/lib/python2.7/dist-packages/jinja2
-- PX4 ECL: Very lightweight Estimation & Control Library v1.9.0-rc1-21-g62fa464
CMake Error at src/lib/version/CMakeLists.txt:69 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "git_ver".

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:252 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:331 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:358 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:359 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:360 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:361 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:362 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:363 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:364 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:365 (add_nuttx_dir)

CMake Error at platforms/nuttx/NuttX/CMakeLists.txt:353 (add_dependencies):
  add_dependencies Cannot add target-level dependencies to INTERFACE library
  target "nuttx_build".

Call Stack (most recent call first):
  platforms/nuttx/NuttX/CMakeLists.txt:366 (add_nuttx_dir)

-- ROMFS: px4fmu_common
-- ROMFS: Adding rc.board_defaults
-- ROMFS: Adding rc.board_sensors
-- Configuring incomplete, errors occurred!
See also "/home/PX4/workspace/PX4/FIR/Firmware/build/px4_fmu-v2_default/CMakeFiles/CMakeOutput.log".
See also "/home/PX4/workspace/PX4/FIR/Firmware/build/px4_fmu-v2_default/CMakeFiles/CMakeError.log".
Error: /home/PX4/workspace/PX4/FIR/Firmware/build/px4_fmu-v2_default is not a directory

I have encountered this error ,while first compiling firmware.some one can help me？

I think your cmake version is too low. I suggest to use Ubuntu 16.04 to build.;


react-aad-webapi issue in hosted workbench or after deploying

Category

[ ] Question
[X] Bug
[ ] Enhancement

Expected or Desired Behavior
SPFx web part calls an API secured via Azure AD and API return the data to web part.
This works well in local workbench. When I tried in SharePoint hosted workbench, it does not work.
Even after bundling it and placing as an App on SP, it still does not work.
Observed Behavior
I am seeing pop up appearing and error returned on web part as - Error: Token renewal operation failed due to timeout
Steps to Reproduce
Samples extended during this work -
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-aad-webapi

Create API as defined in https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad#create-a-new-aspnet-web-api-project and stop before https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad#secure-the-api-using-openid
APIs were published on AzureSubscription1.
In AzureSubscription2 (which is a Azure AD based subscription),  use guidance from https://docs.microsoft.com/en-us/azure/app-service/app-service-mobile-how-to-configure-active-directory-authentication#a-nameadvanced-aalternative-method-manually-configure-azure-active-directory-with-advanced-settings, Complete 6 steps process defined in https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad#register-azure-ad-application.
In AzureSubscription2, register one more app with details
a. as the name use Orders
b. as the sign-in URL use https://your-machine:4321/temp/workbench.html where your-machine is the name of your developer machine
c. add permissions to other applications
i. change the filter to show all applications
ii. from the list of applications select Orders API
iii. the list of Delegated Permissions select "App created in step 3".
d. enable implicit flow and grant permission.

cc: @VesaJuvonen @patmill @waldekmastykarz

So, this is using code from 1-2 years ago from the looks of things.  You should look into using the new feature work around accessing AAD protected APIs.  Take a look at this tutorial - it shows accessing MSGraph, but it should apply to your own end points as well (you'll just need to use the AAD http client, rather than the MSGraph one.)
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial

@patmill, on twitter @ashuetawah mentioned that he needs a solution that's supported in production (https://twitter.com/_AshishTrivedi/status/991973438792253441). AadHttpClient is currently in preview which is why he used his own implementation of ADAL JS instead.

@patmill yes, I am writing code for production release and I am not aware on any GA lines for AadHttpClient. I got it resolved by looking up Azure Git repo issues and changing Office ui fabric button to a html button type. It is strange that we support office ui fabric and the controls does not work well in SPFx.