Functional Testing in SOAP UI

Testing Using SOAP UI Simple Object Access Protocol User Interface (SOAP UI)
26 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€65.51
List Price:  €93.59
You save:  €28.07
£56.31
List Price:  £80.45
You save:  £24.13
CA$95.76
List Price:  CA$136.81
You save:  CA$41.04
A$107.69
List Price:  A$153.85
You save:  A$46.15
S$95.27
List Price:  S$136.10
You save:  S$40.83
HK$548.21
List Price:  HK$783.19
You save:  HK$234.98
CHF 63.99
List Price:  CHF 91.41
You save:  CHF 27.42
NOK kr766.70
List Price:  NOK kr1,095.33
You save:  NOK kr328.63
DKK kr488.53
List Price:  DKK kr697.93
You save:  DKK kr209.40
NZ$117.93
List Price:  NZ$168.49
You save:  NZ$50.55
د.إ257.06
List Price:  د.إ367.25
You save:  د.إ110.18
৳7,672.34
List Price:  ৳10,960.96
You save:  ৳3,288.61
₹5,831.54
List Price:  ₹8,331.14
You save:  ₹2,499.59
RM334.37
List Price:  RM477.70
You save:  RM143.32
₦88,222.39
List Price:  ₦126,037.39
You save:  ₦37,815
₨19,408.82
List Price:  ₨27,728.08
You save:  ₨8,319.25
฿2,591.14
List Price:  ฿3,701.79
You save:  ฿1,110.65
₺2,276.07
List Price:  ₺3,251.67
You save:  ₺975.60
B$359.20
List Price:  B$513.17
You save:  B$153.96
R1,339.40
List Price:  R1,913.51
You save:  R574.11
Лв128.12
List Price:  Лв183.04
You save:  Лв54.91
₩96,245.98
List Price:  ₩137,500.16
You save:  ₩41,254.17
₪263.24
List Price:  ₪376.08
You save:  ₪112.83
₱4,030.89
List Price:  ₱5,758.67
You save:  ₱1,727.77
¥10,844
List Price:  ¥15,492.10
You save:  ¥4,648.09
MX$1,188.01
List Price:  MX$1,697.24
You save:  MX$509.22
QR253.94
List Price:  QR362.79
You save:  QR108.84
P970.94
List Price:  P1,387.12
You save:  P416.17
KSh9,413.65
List Price:  KSh13,448.65
You save:  KSh4,035
E£3,350.77
List Price:  E£4,787.02
You save:  E£1,436.25
ብር3,964.81
List Price:  ብር5,664.26
You save:  ብር1,699.44
Kz58,437.56
List Price:  Kz83,485.81
You save:  Kz25,048.25
CLP$66,749.46
List Price:  CLP$95,360.46
You save:  CLP$28,611
CN¥507.15
List Price:  CN¥724.53
You save:  CN¥217.38
RD$4,131.55
List Price:  RD$5,902.47
You save:  RD$1,770.91
DA9,407.33
List Price:  DA13,439.62
You save:  DA4,032.28
FJ$160.49
List Price:  FJ$229.29
You save:  FJ$68.79
Q543.50
List Price:  Q776.47
You save:  Q232.96
GY$14,625.47
List Price:  GY$20,894.43
You save:  GY$6,268.95
ISK kr9,845.49
List Price:  ISK kr14,065.59
You save:  ISK kr4,220.10
DH706.45
List Price:  DH1,009.26
You save:  DH302.80
L1,245.82
List Price:  L1,779.82
You save:  L534
ден4,030.78
List Price:  ден5,758.50
You save:  ден1,727.72
MOP$564.26
List Price:  MOP$806.12
You save:  MOP$241.86
N$1,339.20
List Price:  N$1,913.23
You save:  N$574.02
C$2,563.14
List Price:  C$3,661.78
You save:  C$1,098.64
रु9,324.38
List Price:  रु13,321.12
You save:  रु3,996.73
S/257.63
List Price:  S/368.06
You save:  S/110.42
K264.67
List Price:  K378.12
You save:  K113.45
SAR262.51
List Price:  SAR375.03
You save:  SAR112.52
ZK1,801.79
List Price:  ZK2,574.10
You save:  ZK772.30
L325.94
List Price:  L465.65
You save:  L139.71
Kč1,653.47
List Price:  Kč2,362.20
You save:  Kč708.73
Ft25,766.18
List Price:  Ft36,810.41
You save:  Ft11,044.22
SEK kr760.51
List Price:  SEK kr1,086.49
You save:  SEK kr325.98
ARS$61,084.05
List Price:  ARS$87,266.68
You save:  ARS$26,182.62
Bs481.20
List Price:  Bs687.45
You save:  Bs206.25
COP$273,176.37
List Price:  COP$390,268.69
You save:  COP$117,092.31
₡35,080.64
List Price:  ₡50,117.34
You save:  ₡15,036.70
L1,718.72
List Price:  L2,455.43
You save:  L736.70
₲516,687.24
List Price:  ₲738,156.27
You save:  ₲221,469.03
$U2,685.15
List Price:  $U3,836.09
You save:  $U1,150.94
zł283.11
List Price:  zł404.46
You save:  zł121.35
Already have an account? Log In

Transcript

Welcome back for my eighth lecture on payment theory here, it lecture on soap UI. And this is for function distinct. So we had this unsuccessful attempt for now we ran Actually, we successfully ran this pet store thing. Guess what, I want to move it upstairs? Can I start working? Okay, so I'm actually guess what I deleted This is not working so.

No. Okay. So what happens is, I mean this is working but thing is SL shingles was not possible. And load testing is not possible for this. It's completely irrelevant. It's not working.

Now. We'll do one more, actually. For functional testing, this is not for rest. But of course, you will be using this rest, of course, but but I'll be showing you how to do functional testing. Now, doing a version they esteem as a tester is easier in order to open the browser, and we may use this websites that say I have this website on es demo three.com. And actually, I have this dual borderline job code that's not working for some reason.

First working that's good debates. So let's try for this one instead of this. Okay. Let's try if if this is working, that's good. I added to this list. I thought it was not working.

So. Okay, good. Now let's try to do this. I have not done that before for demoed line. So you know what, for testing manual testing for the manual tester, just Click these buttons. And you see on this and this is pretty easy, but for doing as distinct soap UI is very different here.

I'll go ahead and click on rest, and put click on that particular URL and go ahead and click on that. Okay. And we will rename this one. Last time we had this unsuccessful and I hope this doesn't happen this. If this happened, if this runs good, probably I'll delete that one. Because there's some mistake in that point, actually, so let's run this.

It's running. It's initializing. Good. Here servicing This is a demo on line two. So good resources, methods simple and we don't have anything to learn here. So the Good, so this looks good.

Now we'll close this one. Alright, now what we'll do here is we need this to keep getting this even though the multiple ways of doing this, I'll create a test case like this. I can create a low test for this like this are just one test case for Domo and this is borderline borderline. They post GMO GMO better. Okay, now so I'm not going to run anything from here because that's a direct separating from somewhere. I'm going to run from here.

So I'll run the script. Okay, good. Now let's learn this correct. Okay. This is good. This was fantastic.

I'm sorry, that was just the whole this let's run the script. Yeah. So this is what the page. So this is the testing, you know, this is an XML format. Luckily this is not Jason XML, you who, then that's a good good thing, because that that one rescue which we saw, I'm sorry, ignore this one, which we did right previously, which was unsuccessful attempt. But still, that was a decent script.

This is HTML. This should not give any issues. I am hoping so. I will create a session. That's good. So let's say I'm creating a session for this.

Welcome to grippers dot push online. So this was working like a charm is good. So go ahead and click on contain in our users. Now let's run this because failing. Let's see what he does. So let's do this.

It's not supposed to actually you can do this in multiple ways can use us Okay, now let's run this. Now you see this assertion as valid, and welcome to green post output, output this try to work successfully. So the point is this is application district. I'm sorry, functional district. Yeah, application. This is web web application.

So this is good. This is very good. This also you can take it as rest, because this is also rest. But this is in XML format. We try to do JSON format, which is a pretty lengthy and pre heavy code, and that's pretty heavy. And it takes my memory it takes like everything you've seen, right?

I mean, that's that's too much. If you have a high end computer like 30 using gaming computer and if you're using this, do it because it's 16 gb ram will still be a shortage because that is very heavy just just simply Justin This is pretty heavy. This is simple testing web application suppose to run this but can I add one more especial? Yeah, I can add multiple assertions. So I can add any script or SLA or I have this assembly so if I do see this anything in Selenium but let me add one more assertions we didn't do or add this to assertions, three issues comes right. But okay, we go to this.

This is not working for some reason. So who just dig this one? So I'm just using this Okay, we'll move this Okay, we are just going to contain a Sunday is something which is let's run it again. It looks No. Okay, so this is how you do functional testing for an application for any application. Let's save it Okay, let's let's let's see.

So I mean I don't care for fulfilling but it's for you is I'm going to deleted this thing too much of my sources. So probably I'm with Davis at one point of time. Sophie why. And I'll add a new folder functional testing. Okay, in this Jeep, so that should be good. Okay, so this is the function that's it.

This is the functional testing you will get some other things you just have seen this locks into slots and blinka is good in Yeah, this is a website this is the website for the same HTTP log looks good, is dated, there's no error marks we are not fully sure but there are errors. We have this memory lock this is really good. I'm not utilizing too much. Okay, so this is good Now let's try Buddhists low testing for the same thing which closes this should be good for this one we'll use threat has used too much sample delay time delay hundred I'm not sure this is all we'll use we'll try to do this after this is working okay so what we are doing here is we are trying to do this load testing and this will be pretty quick and we already done this before so I don't think this will be a big deal for you.

Oh, always keep this memory lab open. And I love to see my mix. Remembering This is not really meant to be memory this CPU and disk is my RAM is my RAM is if I'm using complete my ram Right. So be ready to get stuck like before. But this is not going to happen for this is simple website Joomla because this we are not doing rest, although we are using the rest component here. But what we are trying to do, we did functional testing just added assertions.

That's what we do and ran the script and there are multiple assertions that you can use. We have seen that a lot of assertions SLA SLA we beat you right SLA we use only for security testing, but you can use the desolated Okay, good. We have successfully use this. See the soap UI lock. Everything looks good. is green color, the HTTP lock.

Okay. And again, open the graph see the graph Ouch, pain. is good. If you want to take a screenshot, and you know, use it, you can do that or data, you can use all this data. I'm not utilizing for this specific one because we have done this. So I'm not going too long this.

Okay, so that's pretty much for load testing. We have already done that load testing that we are doing this for functional testing, you know, this is functional testing. Okay, let's close this. You can do this and then you can repeat the same thing. Again, go ahead and you know, create a security testing we'll just, we'll just do pretty quick usability testing. Click on this, go ahead and click on cross site scripting.

Label, choose property username and add it close. Ok. And run the script. dra green color is good green color means there's no issues. The red color means you have issues that means when you are cross scripting, cross site scripting and security testing, you are searching for that particular, you know, particular that word in that script so that you might get an error so that would be a problematic So, this looks good. Oops. Okay, good.

So I knew disable this and add new this time we'd add to this request assertions. Okay, and II don't have XML bomb here that we cantus XML bomb and previous write floating scan let's try to do this for the set. We will use this password we do not have use it. We use password of makes us confident. Why everything has to get past Something has to get paid, right? Let's see this.

This is what I'm using as posture. assertion arm. I need you to try. Okay? Okay and let's run this data So, got plenty of us, that's what I wanted, why everything has to get past right Something has to get fit. So, this has been good.

So, this these actually, you know, it sends a request and it gets failed because you found something relevant for that particular token what we have given. So there are 100 thing which which has issues and he had to fix the tissues, no, okay. So once you get this in you go to a developer and see this, you know, let's remove this and try to run it again. See the see assertions. So, you know, I hate assertions of not so this is how you can do the security test. Okay, so, I mean this was not really good because we add a response time.

Okay, and let's see what happens with this one alert. I use 200 as SLA, but SLS 249 so 2536 it's matching it has to match with a response time in this. So that's why you are this looks good 311347 good. So always save this file as dot log file and see this logs and you know you can get so that's pretty much for security testing. We will disable this we will never end on it doesn't look good. Okay, so cross site scripting where and when good, you know, use this username as that one probably can use more other user ID and password for this one.

I think this is fun. I mean, this is this is something which is not done before. I think for security testing, that's it. So it's successfully done and there's no errors. But technically there should be errors so that you know that, you know, there's something wrong with that. So that's pretty much for functional testing.

So in the functional testing, you could do this everything, as although you use as a rest, you create a representative, representational state transfer. But here what exactly you're doing is you are actually doing functional testing. Okay, you're being functional. So even when you're doing functional testing you you're doing This test case for this one, all right, um, you know, this is an XML file. So this is really good. And we've done for two assertions.

Both are really valid. That's really good. We did load testing to. Okay, that was really good. I didn't save the data. Sorry about that.

But that you have to do for one I've done already, right. This one, you take it as homework, save the data. See the threads, change as per your requirement, how much threads you want stategy you want the burst, simple threat or variance. It's up to you. I use the simple one and get the graphs. Once you get the graphs, save it in dot take the screenshot and save it that should be good.

Then we did security testing and security testing not for all of them but we did for crossing you can do for any of This body scans expired SQL injection or they're supposed to or more so, XML bomb right that thing didn't came for this. The reason because this is XML file that is this was for number conversion was really complex because that was for I'm sorry, when he tweeted for supposed to see this right? I didn't see this to Lotus test one. That's good. We did load test. Something is Sr.

I think save them. Two were supposed to save this. So we did load testing we did a fourth. But so and also pitch to pitch to his painting. So we did it. But the thing is you cannot you're not able to add a session, the reason because it's taking too much of my memory.

And this is getting stuck. It's sitting too much memory because it's very large. It's a JSON format. And it's a very large scale, not that I cannot do it, it's it's taking too long. You know, you know, you tried at home better, if you're having better configuration. Mine is not too It's a daisy of 16 gb ram should be good.

You will, it will run faster. But if it's, you know, this is really paying too much. So that's pretty much probably you can practice it by installing as so I've given already in the lecture one has been started in about does was introduction in the end, you know, you can practice it tomorrow, you practice The better you get into this. So that's pretty much about soapy wine. So let's recap. Pretty quick in two minutes.

So what we did first. So first one was this introduction in the lecture one, we just did an introduction. Second was installation, how to install soap UI. And third one we did like radius competence and all this, how we'll just use competence. And the fourth one was running visual scripts. Okay, and the fifth one was the loader load testing in o four in which to and the sixth one is security testing we did and seventh was unsuccessful attempt of testing using soap your rest was in JSON format.

So that thing, sorry about that. He can land successfully but I was not able to add a search warrant. Some reasons but a plus functional testing that was this one, it was successful. And we did it. No successfully. So that's pretty much I mean, that doesn't end here.

This is there's a lot. I mean, if you're using in some project anyway, to be honest, you should be using government charging because the security testing, there's a lot of things here to be done. But you have to do a lot of things, but, you know, unfortunately, the others do these guys don't have them. But yeah, that's how you do it. Okay. That's, that's the usage of soap UI.

Okay. Um, there is more. There's more to do actually. You can monitor API's, you can do a lot more things. No, this is football. Yes, yes.

So always check the soap UI log HTTP log. And if you have errors, look at the errors, not, you know, errors, we'll see what exactly the eight enter is. So that pretty much I'll end up here. So, you know, I hope you like this class. Okay. I know it was not completely in detail, but it gives some, so probably I just put as introduction to soap UI testing.

That should be good. Because this is a lot, man. There's a lot to do here. And, Jason, we didn't even run this, Jason. It's too bad. I wanted this Jason to be run.

But of course, we cannot run any load testing on that. And I know security testing for that. That's almost impossible to do that. Okay. So thanks for watching, and I Hope you like this video. And if you have any questions of fourth, you can Google it.

You're more than welcome to see that I know. You know, you can use this see here and get started. You can use this one or if you have more questions if this doesn't work, man just tried this one this is Yeah, this is supposed to work. But in here, it's so very simple but for some reason it's not working. Okay. So are probably I use a different URL, you can try it at home, can try this URL and try this.

Okay, and yeah, you can reach out to me, you can reach out to me at my email id okay. If you have any questions. So that's pretty much it. Again, I hope you like this video. And, you know, we'll, you know, how do you find it useful? This more than not, I'll be more than happy if you find it useful that you learn something in you know you've got some knowledge, most importantly install this practice into your life.

Okay, and thanks for watching and good luck.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.