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
€67.34
List Price:  €96.21
You save:  €28.86
£55.94
List Price:  £79.93
You save:  £23.98
CA$100.65
List Price:  CA$143.79
You save:  CA$43.14
A$112.33
List Price:  A$160.48
You save:  A$48.15
S$95.07
List Price:  S$135.83
You save:  S$40.75
HK$543.93
List Price:  HK$777.07
You save:  HK$233.14
CHF 62.61
List Price:  CHF 89.45
You save:  CHF 26.84
NOK kr799.33
List Price:  NOK kr1,141.95
You save:  NOK kr342.62
DKK kr502.32
List Price:  DKK kr717.64
You save:  DKK kr215.31
NZ$124.25
List Price:  NZ$177.52
You save:  NZ$53.26
د.إ257.07
List Price:  د.إ367.25
You save:  د.إ110.18
৳8,395.96
List Price:  ৳11,994.74
You save:  ৳3,598.78
₹5,947.38
List Price:  ₹8,496.63
You save:  ₹2,549.24
RM315.51
List Price:  RM450.75
You save:  RM135.24
₦108,935.23
List Price:  ₦155,628.43
You save:  ₦46,693.20
₨19,553.63
List Price:  ₨27,934.96
You save:  ₨8,381.32
฿2,411.01
List Price:  ฿3,444.45
You save:  ฿1,033.44
₺2,462.87
List Price:  ₺3,518.54
You save:  ₺1,055.66
B$432.25
List Price:  B$617.53
You save:  B$185.28
R1,286.40
List Price:  R1,837.80
You save:  R551.39
Лв131.81
List Price:  Лв188.31
You save:  Лв56.50
₩101,406.23
List Price:  ₩144,872.25
You save:  ₩43,466.02
₪255.41
List Price:  ₪364.89
You save:  ₪109.47
₱4,117.93
List Price:  ₱5,883.01
You save:  ₱1,765.08
¥10,970.49
List Price:  ¥15,672.80
You save:  ¥4,702.31
MX$1,420.18
List Price:  MX$2,028.91
You save:  MX$608.73
QR256.43
List Price:  QR366.34
You save:  QR109.91
P967.77
List Price:  P1,382.59
You save:  P414.82
KSh9,046.20
List Price:  KSh12,923.70
You save:  KSh3,877.50
E£3,563.73
List Price:  E£5,091.27
You save:  E£1,527.53
ብር8,934.81
List Price:  ብር12,764.56
You save:  ብር3,829.75
Kz64,250.82
List Price:  Kz91,790.82
You save:  Kz27,540
CLP$69,405.58
List Price:  CLP$99,155.08
You save:  CLP$29,749.50
CN¥510.85
List Price:  CN¥729.81
You save:  CN¥218.96
RD$4,272.98
List Price:  RD$6,104.52
You save:  RD$1,831.54
DA9,417.81
List Price:  DA13,454.60
You save:  DA4,036.78
FJ$162.47
List Price:  FJ$232.11
You save:  FJ$69.64
Q541.22
List Price:  Q773.21
You save:  Q231.98
GY$14,699.69
List Price:  GY$21,000.46
You save:  GY$6,300.76
ISK kr9,732.10
List Price:  ISK kr13,903.60
You save:  ISK kr4,171.50
DH705.15
List Price:  DH1,007.40
You save:  DH302.25
L1,289.19
List Price:  L1,841.78
You save:  L552.59
ден4,145.57
List Price:  ден5,922.50
You save:  ден1,776.92
MOP$562.37
List Price:  MOP$803.42
You save:  MOP$241.05
N$1,284.24
List Price:  N$1,834.70
You save:  N$550.46
C$2,585.91
List Price:  C$3,694.32
You save:  C$1,108.40
रु9,565.49
List Price:  रु13,665.58
You save:  रु4,100.08
S/262.28
List Price:  S/374.71
You save:  S/112.42
K284.79
List Price:  K406.86
You save:  K122.07
SAR262.99
List Price:  SAR375.72
You save:  SAR112.72
ZK1,944.48
List Price:  ZK2,777.96
You save:  ZK833.47
L335.15
List Price:  L478.81
You save:  L143.65
Kč1,692.70
List Price:  Kč2,418.25
You save:  Kč725.55
Ft27,859.13
List Price:  Ft39,800.47
You save:  Ft11,941.33
SEK kr772.53
List Price:  SEK kr1,103.66
You save:  SEK kr331.13
ARS$71,530.46
List Price:  ARS$102,190.76
You save:  ARS$30,660.29
Bs485.50
List Price:  Bs693.61
You save:  Bs208.10
COP$306,446.24
List Price:  COP$437,799.12
You save:  COP$131,352.87
₡35,334.71
List Price:  ₡50,480.33
You save:  ₡15,145.61
L1,783.55
List Price:  L2,548.03
You save:  L764.48
₲548,864.71
List Price:  ₲784,126.06
You save:  ₲235,261.34
$U3,122.15
List Price:  $U4,460.41
You save:  $U1,338.25
zł286.96
List Price:  zł409.96
You save:  zł123
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.