<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="https://publishpress.com/"
	>

<channel>
	<title>Phu Tran, Author at Tomoshare</title>
	<atom:link href="https://blog.tomosia.com.vn/author/phutran/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.tomosia.com.vn/author/phutran/</link>
	<description>Kênh chia sẻ kiến thức Tomosia Việt Nam</description>
	<lastBuildDate>Mon, 30 Oct 2023 14:56:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.tomosia.com.vn/wp-content/uploads/2023/09/cropped-icon-32x32.png</url>
	<title>Phu Tran, Author at Tomoshare</title>
	<link>https://blog.tomosia.com.vn/author/phutran/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Automation test scripts in Postman</title>
		<link>https://blog.tomosia.com.vn/automation-test-scripts-in-postman/</link>
					<comments>https://blog.tomosia.com.vn/automation-test-scripts-in-postman/#comments</comments>
		
		<dc:creator><![CDATA[Phu Tran]]></dc:creator>
		<pubDate>Mon, 30 Oct 2023 14:56:37 +0000</pubDate>
				<category><![CDATA[Test]]></category>
		<category><![CDATA[Automation Test]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[postman]]></category>
		<guid isPermaLink="false">https://blog.tomosia.com.vn/?p=1571</guid>

					<description><![CDATA[<p>Why automate your API tests? Efficiency: Automated tests can be run quickly and repeatedly, saving time compared to&#8230;</p>
<p>The post <a href="https://blog.tomosia.com.vn/automation-test-scripts-in-postman/">Automation test scripts in Postman</a> appeared first on <a href="https://blog.tomosia.com.vn">Tomoshare</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h4 id="why-automate-your-api-tests" class="wp-block-heading">Why automate your API tests?</h4>



<p><strong>Efficiency</strong>: Automated tests can be run quickly and repeatedly, saving time compared to manual testing. This is especially important in the fast-paced world of software development.<br><br><strong>Consistency</strong>: Automated tests execute the same test cases in the same way every time, reducing the risk of human error and ensuring consistent testing.<br><br><strong>Reusability</strong>: Once you&#8217;ve created automated test scripts, you can reuse them for different versions of your software, ensuring that functionality doesn&#8217;t break when making updates or changes.</p>



<h4 id="adding-tests" class="wp-block-heading">Adding tests</h4>



<p>To add test a request , open the request and end enter code in the tests tab. Tests will execute after the request runs . The output is in the response&#8217;s test results tab</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="562" src="http://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-1024x562.png" alt="" class="wp-image-1574" srcset="https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-1024x562.png 1024w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-300x165.png 300w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-768x422.png 768w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-1536x844.png 1536w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-2048x1125.png 2048w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-380x209.png 380w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-800x439.png 800w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22-1160x637.png 1160w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.57.22.png 2880w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>See how to work with the Postman basic test syntax to test a single HTTP API request a sample collection template . To try out this template select&nbsp;<a href="https://www.postman.com/templates/e9a37a28-055b-49cd-8c7e-97494a21eb54/API-testing-basics">API testing basics</a>.</p>



<h4 id="testing-collections-and-folders" class="wp-block-heading">Testing collections and folders</h4>



<p>When you run a collections the collections runner display the test results , including the response time in milliseconds add details about whether a specific request in the collection passed or failed is test<br></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="938" src="http://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-1024x938.png" alt="" class="wp-image-1575" srcset="https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-1024x938.png 1024w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-300x275.png 300w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-768x704.png 768w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-380x348.png 380w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-800x733.png 800w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1-1160x1063.png 1160w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-20.43.01-1.png 1434w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="696" src="http://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-1024x696.png" alt="" class="wp-image-1576" srcset="https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-1024x696.png 1024w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-300x204.png 300w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-768x522.png 768w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-1536x1043.png 1536w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-2048x1391.png 2048w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-380x258.png 380w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-800x543.png 800w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24-1160x788.png 1160w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.18.24.png 2120w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h4 id="using-postbot-ai-to-write-tests" class="wp-block-heading">Using Postbot <strong><code>AI</code></strong> to write tests</h4>



<ul class="wp-block-list">
<li><strong>To write a test with Postbot, do the following:</strong>
<ul class="wp-block-list">
<li>Send your request so it has a response.</li>



<li>Select the&nbsp;<strong>Tests</strong>&nbsp;tab.</li>



<li>In the&nbsp;<strong>Script with Postbot</strong>&nbsp;section next to your test, select the Postbot icon&nbsp;<img decoding="async" src="https://assets.postman.com/postman-docs/v10/icon-postbot-v10-16.jpg#icon" alt="Postbot icon" width="18">&nbsp;.</li>



<li>Enter your query as a simple text sentence, or select one of the suggested queries to tell Postbot what you need.</li>
</ul>
</li>
</ul>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="396" height="334" src="http://blog.tomosia.com.vn/wp-content/uploads/2023/10/postbot-add-test-v10-16.gif" alt="" class="wp-image-1579" style="aspect-ratio:1.18562874251497;width:679px;height:auto"/></figure>
</div></div>



<p><br></p>



<h4 id="summary-nexts-step" class="wp-block-heading">Summary &amp; Nexts step </h4>



<p>After writing tests in Postman, you could write more complex tests and use them with other Postman utilities. Let go.</p>



<p>Nexts step run your tests and validations on CI/CD using Postman CLI configuration</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="875" src="http://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-1024x875.png" alt="" class="wp-image-1582" srcset="https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-1024x875.png 1024w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-300x256.png 300w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-768x656.png 768w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-1536x1313.png 1536w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-380x325.png 380w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-800x684.png 800w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07-1160x991.png 1160w, https://blog.tomosia.com.vn/wp-content/uploads/2023/10/Screen-Shot-2023-10-25-at-21.40.07.png 1554w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://blog.tomosia.com.vn/automation-test-scripts-in-postman/">Automation test scripts in Postman</a> appeared first on <a href="https://blog.tomosia.com.vn">Tomoshare</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tomosia.com.vn/automation-test-scripts-in-postman/feed/</wfw:commentRss>
			<slash:comments>1401</slash:comments>
		
		
		
		<series:name><![CDATA[Test Automation]]></series:name>
	</item>
	</channel>
</rss>
