Rest Assured HO InfyBank 1
Rest Assured HO InfyBank 1
t!l e oJ
tl fi n M ;I
IO .........._...~
fo o o ,Q
,_
c u s t, w .
C" Q lo< !be ~ l~t>
enl - t u n c bono
-
>e a.i .a .o n - Id n I h a d n 1 l • • - l o r
U
'4e c! ls tn,. O
•--
tr • to n
t cwo« u e , •e,g i\
ff o m rDU11Jn1• o
t,r C W o
m tt r w ;t s te f ~
• ROG r5ti
t ~ kl o
t C lr ,. to n ., cus.tor,er •d
Ute v e a K
l AUT U J. n o
• fw
mer nam.
llf
t- ti ty o n to
• V
( < in t- /
- /o p j/ C \. ll o c ,, e ,.
< 1 B 'W ,, o m e ,t l•
U IU : - 1 lr .t y b a '1 1 ll < u > l< 1 m
~II 0 8 0 ., .n lJ o :,
!r ll tl ll 8 0 e o A o f, .ttu. m a b o v e U Rr
C..WOffil
0
- lo c a lt lo .i
•\-• = -
l w ; i ti ,. ll e d d -.
0.0 a
• M O
u s to m
ac..tu.al c
._,,
(< U ll -O m e rl d ) •
'4o ta: ~ •
• .. ,• lu u
N o t• s :• c:atten • •
IN.: U M d
f o r ¥ t rtn
..
o n • .. .. .. ,. n -. o n ly
• A s s e r ti T N G M S t! rU O t 1M v t t
l rt e d
nJ .
ie .a s . use. ff -S
p e r • U on mus ro per hude
• P h o - p
s code o
f e a c o n tv l a ry • .. ., .. ., , w
• S b t, tu 1 w t to jS O ft tr P O t U br p tt nOn,o th e
- .-1c
~ H .SS ie w b y
Stc" o f a n be v
• It ff ll lU U .-s:sage
9 w tt h e .t te l tfkM 'e: m
• Fof w o~ n
a ,- U ur ~ fJ
on
e of rup
• &n c • s
••
f o n n ,a t,
Requut
---
R _ ..
l •(1J5\!I,,,.,.• -9Ji~Q,'
'<'"tCurt"""'4d ~~1,0'
•c,11,1-"""~- •!,ltil•O'.
•o,,lPI"'°" \.GI'~
•cu,1l,...,. ·S1•no·.
•occounl"•..,I\• ...,.,.... \~111l•'
•°'c.Oliflt1yp1· •su,no·,
•bl',i\lK.a,.~1r.t \nl•9•'
'
rur•"'"
•o<<°"'"''r I
NN-• Se■rch Proiect fl.In Window Help
.._ t> ■ :-: 5
~ l • C!J• til [I] [I] ♦ • 0 • 41. • ' · : Cl•
Quick Access
~ Submit .java t3
1 package solution;
2
3 iaport Java.io.FileinputStream;
Qi. 4 iaport Java.io.Fi leNotFoundExceptlon;
5 iaport java. ~o . F1 leOutp1:1tstream;
6 iaport Java.10.IOExceptlon;
7
8 iaport org.apache.poi.hssf .usermodel.HSSFsheet;
9 iaport org.apache.po1.hssf.usermodel .HSSFWorkbook;
10 iaport org.apache.poi .ss.usermodel. Cell;
11 iaport org . apache . poi.ss .usermodel.Row;
12 iaport org .json . JSONobJect;
13 iaport org.jun~t.Assert;
14 iaport org. J unit. Test;
15
16 iaport 10.restassured.RestAssured;
17 iaport 10.restassured.path.json.JsonPath;
18 iaport 10.restassured.response.Response;
19 iaport 10.restassured.spec1f1cat1on.RequestSpec1f1cat1on;
20
21 public class submit {
1
22 //Write your code below
,- @Test
4 public void user() throws IOExcept1on {
25 Response response ;
. . . . _ _ __ __ _ _ _ I I .. I • • • .1 i I • - -~ ~• =~.....;-!.::=======:;::;;
'......!:'=:':::'
Ii Marbrs a □ Properties • Servers R Data Source Explorer ~ Snippets J>
emn. l warning, o others
ption R esourc e Path Location
Problems ( 1 Item}
••• or ~ •,p,u r ,,.q ,,,. 'lrtNIO 1 -. rc ·-.olutton S11hmlt .111v11 [ t 11 .,,.
11
Window Help
>
=1le0JtputStream fos = new F1leOJJi:,utStream( '/root/Desktop/ user_repo/To_Part1~pant/Add1
...t>. write ( · os ) ;
...-b.close ();
t
79
80 t
Al
/a Problems ( 1 ,tem)