TestMace
0.0.1-beta.7
0.0.1-beta.7
  • Getting Started
  • Interface
    • The Menu
    • Interface Overview
    • Scratches
    • Node Types
    • Keyboard Shortcuts
  • Node Types
    • Project
    • Folder
    • RequestStep
    • Assertion
      • Compare
      • Contains
      • Script
      • XPath
    • Link
    • API description
      • ApiRootFolder
      • ApiFolder
      • ApiRoute
      • API Description Import
    • Broken
    • Script
  • Variables
    • User-Defined Variables
      • Static Variables
      • Dynamic Variables
    • Default Variables
    • Environment Variables
  • Working with the project
    • Cookie
    • Authorization
  • Settings
    • Proxy
  • Other features
    • Bulk Edit
    • Import & Export
      • Shared
      • cURL
      • Swagger
      • Postman
    • Default HTTP headers
Powered by GitBook
On this page
  • Creating a Cookie
  • Editing a Cookie
  • Deleting a Cookie

Was this helpful?

  1. Working with the project

Cookie

A cookie is a small piece of data that is send by a server and stored on the user's machine.

PreviousEnvironment VariablesNextAuthorization

Last updated 5 years ago

Was this helpful?

Creating a Cookie

TestMace allows you to manage host's cookies. Click on the Cookie button at the top menu to open the modal for managing cookies. You'll see a list of all existing records. Click the Add button to create a new one and fill in the following fields:

Field type

Purpose

Key

The cookie name

Value

The cookie value

Domain

Sets the cookie domain

Path

Sets the cookie path

Expires

Sets the date the cookie will expire. The date format should be able to return the toGMTString() method of the Date object

Secure

The checked Secure box means that SSL is used to send the cookie to the server

Http only

Forbids any JavaScript access to the cookie.

You can also create a cookie from a row string like this:

isLogged=1; Expires=31/12/2019 00:00:00; Domain=testmace-stage.herokuapp.com; Path=/posts/; Secure;

Editing a Cookie

Will be available in the next release of Testmace.

Deleting a Cookie

Open the managing cookie window and click on the close icon on the right of the chosen cookie.

Creating a Cookie
Deleting a Cookie