All Downloads are FREE. Search and download functionalities are using the official Maven repository.

FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteWikiImportTests.TestImportFromSecureWikiWithCredentials.content.txt Maven / Gradle / Ivy

!c !3 Import From Secure Wiki With Credentials
!define TEST_SYSTEM {slim}

!include CreateSecureWiki

Create an importing page.
!|Page creator.|
|Page name.   |Page contents.|valid?|
|ImportingPage|!contents   |true   |

This !-ImportingPage-! will now import the secure wiki page.  Credentials for accessing the remote wiki are included in the request.
!|Response Requester.|
|uri   |valid?|
|ImportingPage?responder=import&remoteUrl=http://localhost:9123/ImporteePage&remoteUsername=Aladdin&remotePassword=open+sesame|true|

The import should succeed just like normal.
!|Response Examiner|
|type|pattern|matches?|wrapped html?|
|contents|1 page was imported|true||




© 2015 - 2024 Weber Informatics LLC | Privacy Policy