fix missing variable
This commit is contained in:
@@ -89,6 +89,7 @@ class UserBehavior(HttpUser):
|
|||||||
|
|
||||||
@task
|
@task
|
||||||
def error(self):
|
def error(self):
|
||||||
|
fake_ip = random.choice(self.fake_ip_addresses)
|
||||||
if os.environ.get('ERROR') == '1':
|
if os.environ.get('ERROR') == '1':
|
||||||
print('Error request')
|
print('Error request')
|
||||||
cart = {'total': 0, 'tax': 0}
|
cart = {'total': 0, 'tax': 0}
|
||||||
|
Reference in New Issue
Block a user