Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

nj2
Community profile nj2 Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 02-01-2020 10:47:56 AM
Online
Top badges earned by nj2
Customize the badges you want to showcase on your profile
Re: Junit | slingRequestProcessor.process returning empty...
Avatar
Give Back 3
Level 1
nj2
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
nj2
- Adobe Experience Manager
Thank you @Ritesh_M for your reply, as per my understanding requestProcessor.processRequest(req, resp, resourceResolver); statment will assign the generated response to baos object isn't it. getJSONFromPSPPPage method code is running perfectly fine but somehow not for Junit. Can you please elaborate your point, I might be missing something. Thank you one more time, appreciate all your help.

Views

124

Likes

0

Replies

0
Junit | slingRequestProcessor.process returning empty string
Avatar
Give Back 3
Level 1
nj2
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
nj2
- Adobe Experience Manager
Hi All,Getting empty string for baos.toString("UTF-8") statement. Performing below steps to invoke a workflow process passing mock object.1. Creating mock objects for request, response and resource resolver.2. Passing mock values, as below3. successfully getting all the mock objects in workflow process class.Invoking getJSONFromPSPPPage method internally from execute method, but getting empty String for below statementString baosString = baos.toString("UTF-8");Any thoughts or Suggestion please.=...

Views

165

Likes

0

Replies

2
Re: Reading data stored in separate nodes design dialog
Avatar
Give Back 3
Level 1
nj2
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
nj2
- Adobe Experience Manager
Thank you Sreenu

Views

167

Likes

0

Replies

0
Re: Reading data stored in separate nodes design dialog
Avatar
Give Back 3
Level 1
nj2
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
nj2
- Adobe Experience Manager
Hi @sreenu539, I have the same use case, how di you manage to resolve this. Can you please share your solution. Thanks NJ

Views

211

Likes

0

Replies

0