poppy/tests/etc/endtoend.conf

84 lines
2.3 KiB
Plaintext

#=============================================================================
# Configuration file to execute End To End tests.
#=============================================================================
[auth]
user_name={user name of the cloud account}
api_key={api key for this user name}
base_url=https://identity.api.rackspacecloud.com/v2.0
[poppy]
base_url=http://0.0.0.0:8888
project_id_in_url=True
flavor=standard
status_check_retry_interval=2
status_check_retry_timeout=30
[dns]
test_domain=blah.com
email=mail@domain.com
retry_interval=2
retry_timeout=90
# the authoritative nameserver to poll for cname records to show up
authoritative_nameserver=1.2.3.4
# once the authoritative nameserver resolves a record, wait this amount of time
# for the caching nameservers to pick up the change
cname_propagation_sleep=30
# Wait this amount of time to avoid fetching an access_url to soon on ssl tests
cdn_provider_dns_sleep=60
[webpagetest]
base_url=http://www.webpagetest.org/
api_key={api key for webpagetest instance}
# GET http://www.webpagetest.org/getLocations.php - Use <id> tag
test_locations=Wellington:Chrome, Indore:Firefox, Stockholm:Safari, Dulles:Firefox, Miami:Chrome
[test_configuration]
default_origin=127.0.0.1
# Use alternate_origin to test content heavy websites. The default origin
# while useful to validate cdn functionality, is a very light flask site.
alternate_origin=1.2.3.4
ssl_origin=1.2.3.4
run_ssl_tests=False
webpagetest_enabled=False
referree_origin=2.3.4.5
referrer_request_url=/static/images/gorilla.jpeg
[host_header]
endpoint=/test/host_header
[multiple_origin]
images_origin=127.0.0.2
image_path=/static/images/gorilla.jpeg
[caching]
cache_path=/test/expires/expires.jpg
jpg_path=/test/camera.jpg
jpg_ttl=10
txt_path=/test/text.txt
txt_ttl=10
zip_path=/test/line.zip
zip_ttl=10
[purge]
# Time to wait for purging content to complete
purge_path=/test/camera.jpg
cache_ttl=10
purge_wait_time=900
[origin_headers]
cache_control_path=/test/cache-control/cache-control.jpg
cache_control_ttl=10
expires_path=/test/expires/expires.jpg
expires_ttl=20
expires_and_cache_control_path=/test/expires-cache-control/expires-cache-control.jpg
service_ttl=30
[geo_restrictions]
# Geo restrictions test use webpagetest. So make sure that the test_locations under
# [webpagetest] is in a matching geo.
test_geo=Australia