WEBVTT

1
00:00.000 --> 00:04.290
Okay friends, so let's walk through the validation challenge. Here I have a

2
00:04.290 --> 00:05.520
little scenario.

3
00:05.520 --> 00:11.040
So let's imagine that your company has developed a new REST API and as such you

4
00:11.040 --> 00:11.680
have been tasked

5
00:11.680 --> 00:16.970
with testing its functionality given a scenario, try to answer the following

6
00:16.970 --> 00:17.760
questions.

7
00:17.760 --> 00:21.600
So the first thing I would like to know is I would let you to name a tool that

8
00:21.600 --> 00:22.160
you could use

9
00:22.160 --> 00:27.920
to send a HTTP request to the API. Now once you've done that, imagine that you

10
00:27.920 --> 00:29.120
wish to read a list

11
00:29.120 --> 00:34.050
of all the user names stored on the server. However, this server is not
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:29.120 --> 00:34.050
of all the user names stored on the server. However, this server is not

12
00:34.050 --> 00:35.600
accessible to the general

13
00:35.600 --> 00:40.670
public. So what I want you to do is to identify the key factors to consider in

14
00:40.670 --> 00:41.920
order to ensure that

15
00:41.920 --> 00:46.570
your request is successful. Now assuming that the request is successful, I

16
00:46.570 --> 00:47.920
would let you to state

17
00:47.920 --> 00:52.990
which status codes you would expect to receive in response. And then finally,

18
00:52.990 --> 00:53.840
let's imagine you

19
00:53.840 --> 00:59.360
wish to add some test data. And to do so, let's imagine you attempt to add a

20
00:59.360 --> 01:00.800
test user name into
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

20
00:59.360 --> 01:00.800
test user name into

21
01:00.800 --> 01:05.130
the data set. Now I would like you to state which modifications you will need

22
01:05.130 --> 01:06.240
to make an order

23
01:06.240 --> 01:10.740
for the request to be successful. And once again, identify which status code

24
01:10.740 --> 01:11.920
you would expect to

25
01:11.920 --> 01:15.280
receive. So get your pen and paper, give it a think and I will see you in the

26
01:15.280 --> 01:16.080
very next video,

27
01:16.080 --> 01:19.360
where I tell you my solutions to these particular problems.
