Testing Web Services Page 2
Web Services
Testing Overview
The web services Test environment (https://portfoliomanager.energystar.gov/wstest/) is
designed to help you test the web services only. EPA offers a test server, with which you can
exchange data via all of our web services. This will help you to build the correct calls and logs
into your software. It is important to note that the Test environment does not include a user
interface, as there is no test version of the Portfolio Manager graphical user interface. You can,
however, use the live user interface with a Portfolio Manager account that is separate from your
test account, simultaneously with your testing. This means you can log in to see what a
connection request to another account looks like, and to see how EPA displays properties and
property metrics.
The first step for any organization interested in exchanging data with Portfolio Manager will be
to cr
eate a Test Account. The creation of this account is accomplished via an XML call,
described below (see Testing Part A). Once your account is created, your next step will depend
on which web services you need to test, based on your use case. There are two primary use
cases:
1. Set up
new properties and meters for your customers. This scenario will typically apply
to third-party utility bill management and energy information services companies. These
organizations aggregate and exchange all property and meter data into Portfolio
Manager, in order to supply their customers with the ENERGY STAR score and other
metrics. If you are looking to perform this type of service, your next step will be to test
creating customer accounts, properties, and meters. You can refer to Testing Part B,
below.
2. Submit meter data only for existing properties. This scenario will typically apply to
utilities, who will be authorized by a customer to submit utility data for their property. In
this case, you will need to use the Test environment to simulate what these requests will
look like when they come in from your customers. To test, you will begin by creating test
customer accounts and properties. You will use these test accounts to send your own
account a simulated connection request. This step is analogous to your customer
sending you a connection request in the Live environment. After you accept the
connection, you can also generate simulated property and meter share requests from
your sample customers. These share requests are the way in which your customer will
authorize you to manage data for a property or meter. In the Test environment, you will
have the opportunity to accept or reject each property or meter share request, just as
you would in the Live environment. Refer to Testing Part C, below, for more information
on testing these share features.
Once you have completed your testing, you will be ready to move to the Live environment. To
begin exchanging data with the live Portfolio Manager, you will need approval from EPA. Within
your Account Settings in Portfolio Manager, there is an online form you will complete to request
EPA approval to offer live web services.
When you are using testing, you can create as many accounts and properties as you need for
testing. However, the purpose of testing is to help you build your software, and not to populate
your actual data. Therefore, when you are ready to move from the Test to the Live environment,