What does the GlobalVariable.glbl file do

I found a GlobalVariable.glbl file in my project, but I don’t understand what this file does

The global vars are stored in a file, GlobalVariables.glbl in your project folder on disk


I find no “GlobalVariables.glbl” in a Katalon Studio project created by v8.3.0. Nowhere.

The only glbl file I found was Profiles/default.glbl as follows

:~/katalon-workspace/test (master)
$ tree Profiles
└── default.glbl

1 directory, 1 file


Please take a screenshot of your GlobalVariables.glbl and show us.

This project was created in Katalon 6, and now I am maintaining this project, but found the GlobalVariables.glbl file in the project, and I don’t know what it does. Its content is the same as the global variables in profiles, but I don’t know what it has to do with global variables.

You wrote that you found a file named GlobalVariables.glbl. And the screenshot does proove you have the file. Yes.

I have no idea what that file is.
I am sure the v8.x of Katalon Studio does not require it.

I made a search for “GlobalVariables.glbl” and found an old post by @Russ_Thomas


Do you have any idea?


It contains the settings for the project’s default profile. These become the GlobalVariables in use at run time.

Maybe :slight_smile:

I examined locally on my PC using Katalon Studio 8.3.0.

Originally in the “default” Execution Profile, I had a GlobalVarialbe.message of type String with data “Hello, world”.

I made a Test Case “TC1”, with code

import internal.GlobalVariable

println GlobalVariable.message

When TC1 ran, a message “Hello, world” was printed in the console.

I stopped Katalon Studio.

I copied the file <projectDir>/Profiles/default.glbl to <projectDir>/GlobalVariables.glbl. And I removed the <projectDir>/Profiles/default.glbl

I restarted Katalon Studio.

I found no Execution Profile was displayed in the Test Explorer ---- the GlobalVariable.glbl seemed ignored.

I ran the TC1 again.

I got an error:

groovy.lang.MissingPropertyException: No such property: message for class: internal.GlobalVariable
	at TC1.run(TC1:20)

This examination proves that <projectDir>/GlobalVariables.glbl file is not used by Katalon Studio v8.3.0 at all.


It is up to you what you do with the file.

Will give again his reference, right now.
Note that, it is an old topic, from 2018:

Which mention this file.
I really don’t have such older executions / projects into my current machine.
If my memory is intact, i saw such in the past.

Connecting this with the info from the OP:

This project was created in Katalon 6

I assume, it is just a leftover from previous versions.
What is the exact path of it, under the project structure?
I cannot find such under my current demo projects created with Katalon > 8.x

So, I suppose, for usage with newest Katalon, may be safe to just discard it.
Take a backup first!


FWIW, I’m on 8.0.1. and I don’t recall any mention of this change on any release notes. That’s really not cool.

not-cool = silently pulling the rug out from under our feet

@duyluong can you confirm at what point in the dev branch this change occurred?

What other proof do you need?
This is how my current project structures looks like, and is working fine:

[ibus@ibus-t14 test]$ ls -al
total 48
drwxr-xr-x. 21 ibus ibus  4096 Mar 15 15:29  .
drwxr-xr-x.  4 ibus ibus    33 Feb 28 11:36  ..
drwxr-xr-x.  7 ibus ibus    78 Mar 15 15:29  bin
drwxr-xr-x.  3 ibus ibus    22 Jul 14  2022  .cache
drwxr-xr-x.  2 ibus ibus     6 Sep 24  2020  Checkpoints
-rw-r--r--.  1 ibus ibus 19451 May  8 11:43  .classpath
-rwxrwxrwx.  1 ibus ibus   184 Sep 24  2020  console.properties
drwxr-xr-x.  2 ibus ibus    31 Feb 18 10:38 'Data Files'
drwxr-xr-x.  2 ibus ibus     6 Sep 24  2020  Drivers
drwxr-xr-x.  7 ibus ibus   100 Feb 18 11:31  .git
-rwxrwxrwx.  1 ibus ibus    43 Feb 18 11:31  .gitignore
drwxr-xr-x.  6 ibus ibus    68 Oct 22  2022  Include
drwxr-xr-x.  3 ibus ibus    18 Sep 24  2020  Keywords
drwxr-xr-x.  3 ibus ibus    91 May  8 11:44  Libs
-rwxrwxrwx.  1 ibus ibus    41 Mar  6  2022  myscript.sh
drwxr-xr-x.  2 ibus ibus    65 Mar 28 13:20 'Object Repository'
drwxr-xr-x.  2 ibus ibus     6 Sep 24  2020  Plugins
drwxr-xr-x.  2 ibus ibus    43 Dec 10  2021  Profiles
-rw-r--r--.  1 ibus ibus  6345 May  8 12:14  .project
drwxr-xr-x.  4 ibus ibus    49 Feb  2 18:26  Reports
drwxr-xr-x. 10 ibus ibus   159 May  3 13:35  Scripts
drwxr-xr-x.  2 ibus ibus    81 Mar 15 15:29  .settings
drwxr-xr-x.  4 ibus ibus    38 Sep 24  2020  settings
drwxr-xr-x.  2 ibus ibus   183 May  3 13:35 'Test Cases'
drwxr-xr-x.  2 ibus ibus    36 Nov 16  2021 'Test Listeners'
-rwxrwxrwx.  1 ibus ibus  1044 Feb  2 18:25  test.prj
drwxr-xr-x.  2 ibus ibus    96 Apr  4  2022 'Test Suites'
[ibus@ibus-t14 test]$ pwd
/home/ibus/Katalon Studio/test
[ibus@ibus-t14 test]$ 

Am I blind, or is no such file?

None. I want WHEN.

Aahh … good look with this.
I suppose, somewhere in 7.x when issues with various GlobalBlah internal were fixed … or it could be 8.x
May be something in the release notes, but I am too lazy to check and my memory is not that good.