Hi Aaron,

if your problem is speed reading JSON, you should take a look at
the nodesupport in powerEXT, it generates well structured and
readable encoded JSON and sets all comma's for you and the only
processor you need to find errors is sitting on top of your head ;-)

Here is an example of generated JSON:

{
"metaData":{
"totalProperty":"totalRows"
,"root":"rows"
,"id":"RRN"
,"fields":[
{
"name":"RRN"
}
,{
"name":"XAXAID"
}
,{
"name":"XAHEAD"
}
,{
"name":"XALNGC"
}
,{
"name":"XACGIP"
}
,{
"name":"XARPCP"
}
,{
"name":"XARCST"
}
,{
"name":"XARCDC"
}
,{
"name":"XARCUD"
,"type":"float"
}
]
}
,"totalRows":3
,"rows":[
{
"RRN":1
,"XAXAID":"PX"
,"XAHEAD":"powerEXT
Application Framework"
,"XALNGC":"en"
,"XACGIP":"/pextcgi/"
,"XARPCP":"/pextcgi/"
,"XARCST":"A"
,"XARCDC":"D"
,"XARCUD":2
}
,{
"RRN":3
,"XAXAID":"SA"
,"XAHEAD":"PersonalePortalen"
,"XALNGC":"en"
,"XACGIP":"/pextcgilon/"
,"XARPCP":"/pextrpclon/"
,"XARCST":"A"
,"XARCDC":"D"
,"XARCUD":2
}
,{
"RRN":2
,"XAXAID":"US"
,"XAHEAD":"Your
Application"
,"XALNGC":"en"
,"XACGIP":"/pextcgi/"
,"XARPCP":"/pextcgi/"
,"XARCST":"A"
,"XARCDC":"D"
,"XARCUD":2
}
]
}


Med venlig hilsen/Kind regards
Henrik Rützou
HR Software Development
Ved Stampedammen 39
DK 2970 Hørsholm
Denmark
E-mail: hr@xxxxxxxxxxxx
Phone: +45 2714 8449

Homepage: powerEXT.com




Aaron Bartell <aaronbartell@xxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
19-07-2010 17:50
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
"Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
cc

Subject
[WEB400] Eclipse based JSON tester






Hi All,

Just curious how others are testing their incremental JSON requests to the
server. I am starting to build bigger applications where the browser
communicates JSON to my RPG, and thus it is getting laborious to do
smaller
test cases because I have to click through a number of screens just to get
to a page to test my process, and am hoping there is a solid tool that can
store various instances of requests for quick and easy testing.

I use SOAPUI for my XML based testing and I see they have REST based
testing, but it seems to be over complicated (IMO) and would rather have
it
live within Eclipse anyway as that is where I am coding my RPG and ExtJS.

Anybody found anything?
Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.