---
description: >-
  After having built and deployed our pipeline, we are now finally going to make
  inferences with it.
---

# Step 7. Make inferences with our pipeline

#### :checkered\_flag: Perform testing with SmartPredict&#x20;

Making inferences with our pipeline is somehow the ultimate objective of the previous stages .   [As an all-in-one platform](https://docs.smartpredict.ai/platform_overview/presentation-1/key-features), _SmartPredict_  is conceived to include [all the tools](https://docs.smartpredict.ai/platform_overview/presentation-1/smartpredict-graphical-user-interface-1) needed for easily managing every stage  of an AI project from end to end , even until the testing stage.&#x20;

To test if our model performs as expected, let us test it right from _SmartPredict'_ s  testing tab.                  &#x20;

_SmartPredict Test_ _tab_ makes it possible  to directly upload a **JSON file** or insert the **JSON codes** ourselves.       &#x20;

For our Titanic project, **to test if a given passenger survived or not** , let us for instance choose a passenger in the test  dataset quite randomly.

&#x20;Paste the below code into the Test tab:

```
{
   "Pclass":3,
   "Sex":[
      "male"
   ],
   "Age":34.5,
   "SibSp":0,
   "Parch":0,
   "Fare":7.8292
}
```

The anticipated result  is '' Not Survived' since this passenger is a typical third class person. Plus, he was a man who also traveled alone. Hence the obtained result  should be  < 0 >  i.e this fated passenger did not survived .

Let us test if our model provides the expected output.

![The output of our model is Not survived, just like we expected.](https://1833277725-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lyc1OXsKqB2S62LxsOR%2F-M0rc7WOmt1KNG4ISUsH%2F-M0rfI0OEgzP3Mu6g6Fe%2FTest%20tab.png?alt=media\&token=93ee2cbd-cdba-4de5-9e40-5273a820777c)





#### N.B   Testing with an external software

As an alternative, we may also opt for testing with the help of external tools such as [Postman](https://www.postman.com/downloads/) , which is a handy unit testing software.

To do so , we need  to  get the URL of our API which is how we can call it anytime we need to inject the model into the target use case.

Enter in the Monitor tab and Copy and Paste into clipboard the following information:

* The active URL
* The access token

Then, insert them into the corresponding field within the testing software.

To see the details of the typical test operation, check this [previous walkthrough](https://docs.smartpredict.ai/getting-started/getting-started-part1-iris-classification-project/step-7-test-deploy) and place the previous code block in the field intended for it within the code body in Postman workspace.&#x20;

{% hint style="warning" %}
If we test with an external software , do not forget to insert _the access token_ into the code.&#x20;
{% endhint %}

&#x20;



