Yes, I am using the struts2-junit plugin and extending 
StrutsSpringJUnit4TestCase from the plugin.

Paul R Zepernick | Sr Programmer Analyst
HealthSmart
Office: 517 582 6525
[email protected] | www.HealthSmart.com

-----Original Message-----
From: Lukasz Lenart <[email protected]>
Sent: Tuesday, November 3, 2020 1:16 AM
To: Struts Users Mailing List <[email protected]>
Subject: Re: NPE when running unit test with struts rest plugin

NOTICE: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

pon., 2 lis 2020 o 14:48 Paul Zepernick
<[email protected]> napisał(a):

> Struts: 5.2.25
>
> Plugins: struts2-rest, struts2-spring, struts2-convention junit 4
>
>
Did you try to use struts2-junit plugin and based your tests
on StrutsJUnit4TestCase?
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstruts.apache.org%2Fplugins%2Fjunit%2F&amp;data=04%7C01%7CPaul.Zepernick%40healthsmart.com%7Cea5207226d3940a0902a08d87fbfeefb%7C2ce547c5e80a40628a56f25adceefb52%7C0%7C0%7C637399809618813651%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=MsGQZtBlw459VufXJY4dA%2BMaa8jW%2BEmH3i5uoXDv8GQ%3D&amp;reserved=0


Regards
--
Łukasz
+ 48 606 323 122 
https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.lenart.org.pl%2F&amp;data=04%7C01%7CPaul.Zepernick%40healthsmart.com%7Cea5207226d3940a0902a08d87fbfeefb%7C2ce547c5e80a40628a56f25adceefb52%7C0%7C0%7C637399809618813651%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=UHMX7w%2BVMV%2BYXpHEgiwIEYDD8X4hGSVlr2O%2FJMwWlYA%3D&amp;reserved=0
Disclaimer: This communication and any files transmitted with it may contain 
information that is privileged, confidential and/or exempt from disclosure 
under applicable law. If you are not the intended recipient, you are hereby 
notified that any disclosure, copying, distribution, or use of the information 
contained herein (including any reliance thereon) is strictly prohibited. If 
you received this communication in error, please immediately contact the sender 
and destroy the material in its entirety, whether in electronic or hard copy 
format. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to