Ask a Question

API Test entering complax body

SOLVED
VictorZ
Occasional Contributor

API Test entering complax body

I am trying to post a complex object. The form data input can only have maximum 7 rows in my browser. No scroll bar shown. And I don't what the format is for the RAW mode. I did not find anything in the document.

8 REPLIES 8
AlexKaras
Champion Level 2

Hi,

 

Is this about LoadNinja or ReadyAPI Test?

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
VictorZ
Occasional Contributor

It is for LoadNinja not RealApi.

Hm-m-m... I did not use LoadNinja for a long time but do not remember where one was able to craft API request manually.

Can you post a screenshot to make things more clear?

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
MPunsky
SmartBear Alumni (Retired)

VictorZ
Occasional Contributor

VictorZ_0-1628788186452.png

I am trying to enter nested object to a post

VictorZ
Occasional Contributor

Thank you for the video but It did not address my problem. I knew where to enter the request for an API step. I posted an image of the UI for POST request. There seemed no way to enter complex request like { Name: "John", "Email": "John@somewhere.com", "Address" : { "Address1": "1234 5th ave.", "PostalCode": "22222"}. I can enter Name, Email with no problem. But how to enter the address?

 

Thank you for helping.

@VictorZ :

how to enter the address?

Just an idea: have you tried to enter

 

{ "Address1": "1234 5th ave.", "PostalCode": "22222"}

 

as a value for the Address field?

Does it work? If you use Fiddler or any other recording proxy, does the above result in a correct expected request body?

 

@MPunsky :

Thank you for the link and video.

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
sonya_m
SmartBear Alumni (Retired)

Hi @VictorZ ! Please note that you replied straight to the email notification, this way your reply won't reach this thread. 

You wrote that some advice didn't help, however, I see this thread is solved, I hope that you managed to resolve this issue indeed with the most recent comment from Alex.


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: