[program-l] Re: If you had to work on a web project with lots of microservices that does not have an accessible ui, How do you find which part of the code needs change or has bug?

  • From: hamidreza abroshan <hamidreza.abroshan@xxxxxxxxx>
  • To: program-l@xxxxxxxxxxxxx
  • Date: Mon, 17 Jan 2022 17:07:57 +0330

Sorry, I suddenly hit the send button.
I was saying that I'm looking for any alternate solution that comes to your
mind or you had experienced before.
Thanks.

On Mon, Jan 17, 2022 at 4:42 PM hamidreza abroshan <
hamidreza.abroshan@xxxxxxxxx> wrote:

Thanks Dzhovani,
We are running micro services locally, and can not trigger http requests
from outside.
If I could debug the Micro services that are running on the central
server, the test team and other developers can not use the app because I
put a breakpoint somewhere and the execution stops when it hits my break
point.
Let me explain my problem clearly.
Imagine that you joined a back end team of an app.
You receive a bug that says, "in the second page of customer registration,
when customer details are added, We get 500 server error".
At this point, your fellow sited developer, opens the UI, navigates to
registration, completes the form until gets to page 2, and in page 2,
before hitting that button that sends customer details, opens his browser
dev tools to track http requests and hits that send button.
Now, he can copy the http request and response from dev tools and resend
with any rest client like postman and debug the local app, but if you were
blind, you can not sea the UI, and you can not obtain the payload that you
need to debug the app this way.
I'm asking any alternate solutions that



On Mon, Jan 17, 2022 at 1:39 PM Dzhovani Chemishanov <
dzhovani.chemishanov@xxxxxxxxx> wrote:

Hi,
As far as I get your problem, you are unable to trigger an http
request in order to inspect its content. If I get you correctly, debug
log the incoming request on the backend and wait for someone to
trigger it. This  is valid if you can fiddle with the handlers and
have access to the raw data of the http request.
HTH,
Dzhovani

On 1/17/22, hamidreza abroshan <hamidreza.abroshan@xxxxxxxxx> wrote:
Hey all,
I'm working on a java project that has 60 microservices and this project
does not have an accessible UI.
My problem is that when I need to debug this app, I need a payload to
send
with rest clients, and every one says, "go and get the payload from UI."
What do you do in similar situations?
I need urgent help and appreciate your help.
Thanks in advance.

--
hamidreza

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq



--
hamidreza



-- 
hamidreza

Other related posts: