<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Testing HTTP Callouts</title>
	<atom:link href="http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/feed/" rel="self" type="application/rss+xml" />
	<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/</link>
	<description>Authored by Scott Hemmeter of Arrowpointe Corp, this blog is written from the perspective of a Salesforce.com solution provider and contains information on Arrowpointe's AppExchange products as well as tips, findings, sample code, functionality wishes, etc.</description>
	<lastBuildDate>Mon, 26 Jul 2010 02:42:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/comment-page-1/#comment-63064</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Thu, 27 May 2010 15:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=616#comment-63064</guid>
		<description>I am pretty sure it&#039;s no issue.  In the next transaction, the variable is reset. Every transaction is unique so the next callout has its own set of variable instances.</description>
		<content:encoded><![CDATA[<p>I am pretty sure it&#8217;s no issue.  In the next transaction, the variable is reset. Every transaction is unique so the next callout has its own set of variable instances.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codeulike</title>
		<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/comment-page-1/#comment-63063</link>
		<dc:creator>codeulike</dc:creator>
		<pubDate>Thu, 27 May 2010 15:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=616#comment-63063</guid>
		<description>Is using the static variable like that thread-safe? What happens if someone else calls the call-out at the same time you&#039;re running the test? Or afterwards, for that matter, given that you don&#039;t seem to set the flag back to false?</description>
		<content:encoded><![CDATA[<p>Is using the static variable like that thread-safe? What happens if someone else calls the call-out at the same time you&#8217;re running the test? Or afterwards, for that matter, given that you don&#8217;t seem to set the flag back to false?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calling a REST Web Service (JSON) with Apex &#124; Jeff Douglas &#8211; Technology, Coding and Bears&#8230; OH MY!</title>
		<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/comment-page-1/#comment-62668</link>
		<dc:creator>Calling a REST Web Service (JSON) with Apex &#124; Jeff Douglas &#8211; Technology, Coding and Bears&#8230; OH MY!</dc:creator>
		<pubDate>Wed, 06 Jan 2010 12:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=616#comment-62668</guid>
		<description>[...] unit tests for callouts can present a challenge. Scott Hemmeter has a really good article entitled Testing HTTP Callouts which should provide you with some useful techniques. You should also check out An Introduction to [...]</description>
		<content:encoded><![CDATA[<p>[...] unit tests for callouts can present a challenge. Scott Hemmeter has a really good article entitled Testing HTTP Callouts which should provide you with some useful techniques. You should also check out An Introduction to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/comment-page-1/#comment-61968</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Thu, 13 Aug 2009 15:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=616#comment-61968</guid>
		<description>Great idea dude. So much better than any of the SFDC developers could give me. Web services are obviously still a big mystery to them.</description>
		<content:encoded><![CDATA[<p>Great idea dude. So much better than any of the SFDC developers could give me. Web services are obviously still a big mystery to them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh Shah</title>
		<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/comment-page-1/#comment-61754</link>
		<dc:creator>Rajesh Shah</dc:creator>
		<pubDate>Mon, 18 May 2009 10:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=616#comment-61754</guid>
		<description>This is a nice way to handle test methods for Apex Callouts. However I would still prefer the other way of dividing the HTTP callout into 3 methods. This way I am not adding any extra code to what is actually required to run the method. All my extra stuff required for testing the callout is in the test method. Another reason is that it is good to have the callout modularised into 3 separate parts. This allows me make the call from different functions and send the response to a single function.</description>
		<content:encoded><![CDATA[<p>This is a nice way to handle test methods for Apex Callouts. However I would still prefer the other way of dividing the HTTP callout into 3 methods. This way I am not adding any extra code to what is actually required to run the method. All my extra stuff required for testing the callout is in the test method. Another reason is that it is good to have the callout modularised into 3 separate parts. This allows me make the call from different functions and send the response to a single function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://sfdc.arrowpointe.com/2009/05/01/testing-http-callouts/comment-page-1/#comment-61687</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Mon, 04 May 2009 18:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=616#comment-61687</guid>
		<description>Very nice way to work &quot;with&quot; the Salesforce.com test framework. I tip my virtual hat to you sir.</description>
		<content:encoded><![CDATA[<p>Very nice way to work &#8220;with&#8221; the Salesforce.com test framework. I tip my virtual hat to you sir.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
