Import and export a project
Import a project
NeoLoad features an Import wizard which allows the user to import the contents of an existing NeoLoad project into the current project.
The import takes into account all the User Path resources. Any linked files (variable source files, linked JavaScript library files) are automatically copied to the current project. Files specified by an absolute path on the hard disk and not included in the imported project directory will not be copied.
The imported resources (servers, pages, Virtual Users, Populations ...) must not already exist in the current project under the same name. If a resource does already exist, NeoLoad will prompt you to rename the resource to be imported in order to avoid any conflicts.
To import a project, follow these steps:
-
Click on the File > Import a project menu item.
-
Select the project on the hard disk to be imported by clicking on the file with the
nlpextension, or select the zipped archive. -
Choose the renaming policy:
-
All elements: NeoLoad imports all the resources, systematically applying the renaming template. In the event of a conflict, that is to say, if a resource that has been renamed using the template already exists, NeoLoad prompts you to choose another unused name.
-
Conflicting elements: Only the items with a naming conflict are renamed, in accordance with the renaming template.
-
-
Choose the renaming template. You may specify a prefix and/or suffix to be used to form the new name for the item if it is renamed.
-
Select Import.
If your project is password-protected, the import wizard asks you for the password.
You can choose to import a password-protected project without entering the password. However, this deletes all encrypted information, such as passwords, or other sensitive information in variables—which may break your tests. To import without password anyway, select Open without password.
-
The import begins; in the event of a naming conflict, a pop-up window allows you to change the name of a resource if the name already exists.
Export a project
The Export Project wizard allows you to:
-
Export and automatically send a project to NeoLoad Technical Support.
-
As well as the project itself, the exported archive may also include configuration files, log files and one User Path validation result. The exported archive is directly uploaded to our FTP server.
-
Export a project for backup or transfer to another machine.
The archive can then be imported into an existing project. For more information, see Import a project.
To export a project, follow these steps:
-
In the menu bar, choose File > Export Project....
-
In the Export Results step, select the elements to export.
-
Click Next.
-
In the Destination step, choose:
-
Export to file: NeoLoad will export and zip your project into an archive file and store it locally in the location you specify.
-
Export and automatically send to technical support via FTP: NeoLoad will export the project and any debug item to an archive that will be automatically uploaded to the NeoLoad Support FTP server.
The first time you export a project to support, you need to validate the identity of the host. The fingerprint to verify is:
SHA256:0Id8gmIefUdrVL5g9Sc0kBcIOghqd7R7njiVD94UYJs.
-
-
Click Next.
-
If exporting to our Support server, select which items to include:
-
Log files (recommended)
-
Configuration files (recommended)
-
a User Path validation result: NeoLoad takes the last validation result for the selected User Path, or launches a validation if the User Path has yet to be validated.
-
-
For identification purposes, enter the ID number supplied by NeoLoad Technical Support or your company name.
-
Click Next.
-
When you click Next, NeoLoad creates the archive and uploads it to the FTP site. You may continue to use NeoLoad normally during the upload process. Once the archive has been uploaded, the NeoLoad Support is automatically informed of its reception.
Export a project to NeoLoad Web
Export your project to NeoLoad Web to run it on shared infrastructure and share the results with your team. You can export a project in the following ways:
-
ZIP file: The export uses a copy of the project as it is when you export it. To change the design, edit the project in NeoLoad and export it again.
-
Git project: The export uses the project from your Git repository, so NeoLoad and NeoLoad Web then work from one source. After you export, publish changes to Git and clone them into the test. Each result then records the commit it ran with.
If you exported a test as a ZIP file before, export it again as a Git project to make it Git-backed. You can then switch to NeoLoad to edit it.
Before you start
Before you export, make sure you meet these requirements:
-
You've connected NeoLoad to NeoLoad Web with an access token.
-
For a Git export, your project is a Git project.
-
For a Git export, your team has configured Git in NeoLoad Web (opens in new tab).
Export the project
To export a project to NeoLoad Web, follow these steps:
-
Go to File > Export Project to NeoLoad Web.
-
In the Destination step of the Export Project Wizard, select Export and send to NeoLoad Web.
-
Select a Workspace.
-
Select a Test to export the project into, or enter a new name to create one.
To finish, follow the steps for your export type.
Select Next, and select Finish when the export log is complete.
To open the test in your browser after the export, select Open the Test in browser after project upload. NeoLoad Web then opens your test with the project uploaded as a ZIP file.
If your project is Git-backed, the Destination step also shows Export as Git project. To export it, follow these steps:
-
Select Export as Git project.
-
If the repository is private and you haven't added your Git credentials to NeoLoad Web yet, select Configure Git credentials in NeoLoad Web. Add your Git credentials there.
-
To open the test in your browser after the export, select Open the Test in browser after project upload.
-
Select Next. When the export log is complete, select Finish.
-
In NeoLoad Web, select Clone the project in the Clone from Git dialog. The repository and branch are already filled in.
If you didn't select Open the Test in browser after project upload, open the URL from the export log to get to the Clone from Git dialog.
Example of Git-backed export to a new test in NeoLoad Web
You're now ready to run your test in NeoLoad Web (opens in new tab).