diff --git a/README.md b/README.md index 55de833..e7a08c4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ This repo contains the samples for [Keploy's](https://keploy.io) integration wit 5. [Flask-Redis](https://github.com/keploy/samples-python/tree/main/flask-redis) - This Flask-based application provides a book management system utilizing Redis for caching and storage. It supports adding, retrieving, updating, and deleting book records, with optimized search functionality and cache management for improved performance. The API endpoints ensure efficient data handling and quick access to book information. +6. [Django-Mysql] (https://github.com/keploy/samples-python/tree/main/django-mysql)- This application is a simple Employee Management System built with Django and MySQL. It allows you to create, retrieve, update, and delete employee records via RESTful API endpoints. The application is containerized using Docker, making it easy to deploy and run in different environments. The backend is powered by Django, and the MySQL database is used to store employee information. + + ## Community Support ❤️ ### 🤔 Questions? diff --git a/django-mysql/.gitignore b/django-mysql/.gitignore new file mode 100644 index 0000000..6eb0be3 --- /dev/null +++ b/django-mysql/.gitignore @@ -0,0 +1,54 @@ +# Python +*.pyc +*.pyo +*.pyd +__pycache__/ + +# Virtual Environment +venv/ +env/ +.venv/ +.env/ + +# Django +*.log +*.pot +*.pyc +*.pyo +*.pyd +__pycache__/ +db.sqlite3 +media/ +staticfiles/ + +# IDEs and Editors +.vscode/ +.idea/ +*.swp +*.swo + +# macOS +.DS_Store + +# Node.js +node_modules/ + +# Coverage reports +.coverage +coverage.xml +*.cover +*.py,cover +.hypothesis/ + +# Test output +nosetests.xml +pytest_cache/ +junit.xml + +# Environment variables +.env +.env.* + +# Other +*.bak +*.tmp \ No newline at end of file diff --git a/django-mysql/Dockerfile b/django-mysql/Dockerfile new file mode 100644 index 0000000..fb3ab50 --- /dev/null +++ b/django-mysql/Dockerfile @@ -0,0 +1,24 @@ +# Set base image +FROM python:3.9 + +# Set environment variables +ENV PYTHONUNBUFFERED=1 + +# Create and set the working directory +ARG HOST_PWD +WORKDIR $HOST_PWD + +# Install dependencies +COPY ./requirements.txt ./requirements.txt +RUN pip install -r requirements.txt + +# Copy the project files +COPY . . + +# Run migrations and start the server with proper signal handling + +# FOR RECORD MODE +ENTRYPOINT ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && exec python manage.py runserver 0.0.0.0:8000"] + +# FOR TEST MODE +# ENTRYPOINT ["sh", "-c", "exec python -m coverage run manage.py runserver 0.0.0.0:8000 --noreload"] \ No newline at end of file diff --git a/django-mysql/README.MD b/django-mysql/README.MD new file mode 100644 index 0000000..c5f0e6e --- /dev/null +++ b/django-mysql/README.MD @@ -0,0 +1,83 @@ +## Django MySQL CRUD Application + +This application is a simple Employee Management System built with Django and MySQL. It allows you to create, retrieve, update, and delete employee records via RESTful API endpoints. The application is containerized using Docker, making it easy to deploy and run in different environments. The backend is powered by Django, and the MySQL database is used to store employee information. + +## Prerequisites + +* Docker + +## Steps to Run the Application + +### 1. Build and Run MySQL Database Container + +Run the db: + +```bash +docker run --name mySQL --network keploy-network -e MYSQL_ROOT_PASSWORD=keploy -e MYSQL_DATABASE=keploy_db -e MYSQL_USER=admin -e MYSQL_PASSWORD=keploy -p 3306:3306 -d mysql +``` + +### 2. Build and Run Django Application Container + +In the project root directory, run: + +```bash +docker build --build-arg HOST_PWD="$(pwd)" -t py-app . + +docker run --name django-app --net keploy-network -p 8000:8000 -v "$(pwd):$(pwd)" --rm py-app +``` + +### 3. API Endpoints + +• **Create Employee (POST):** [http://localhost:8000/api/employee/create/](http://localhost:8000/api/employee/create/) + +• **Get Employee by ID (GET):** [http://localhost:8000/api/employee/{id}/](http://localhost:8000/api/employee/{id}/) + +• **Get All Employees (GET):** [http://localhost:8000/api/employee/](http://localhost:8000/api/employee/) + +• **Update Employee (PUT):** [http://localhost:8000/api/employee/update/{id}/](http://localhost:8000/api/employee/update/{id}/) + +• **Delete Employee (DELETE):** [http://localhost:8000/api/employee/delete/{id}/](http://localhost:8000/api/employee/delete/{id}/) + +### Example Request Payload for Creating an Employee: + +```bash +curl -X POST http://localhost:8000/api/employee/create/ -H "Content-Type: application/json" -d '{"name": "John Doe", "years_of_experience": 5, "field": "Computer Science", "company": "TechCorp"}' +``` + +### Notes: + +> Django application runs on port 8000. + +## Testing the APIs + +Use the following curl commands to test the APIs after running the application: + +### POST Request to create an employee + +```bash +curl -X POST http://localhost:8000/api/employee/create/ -H "Content-Type: application/json" -d '{"name": "John Doe", "years_of_experience": 5, "field": "Computer Science", "company": "TechCorp"}' +``` + +### GET Request to fetch all employees + +```bash +curl -X GET http://localhost:8000/api/employee/ +``` + +### GET Request to fetch an employee by ID + +```bash +curl -X GET http://localhost:8000/api/employee/1/ +``` + +### PUT Request to update an employee + +```bash +curl -X PUT http://localhost:8000/api/employee/update/1/ -H "Content-Type: application/json" -d '{"name": "Jane Doe", "years_of_experience": 6, "field": "Data Science", "company": "TechCorp"}' +``` + +### DELETE Request to delete an employee + +```bash +curl -X DELETE http://localhost:8000/api/employee/delete/1/ +``` \ No newline at end of file diff --git a/django-mysql/employee/__init__.py b/django-mysql/employee/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/django-mysql/employee/admin.py b/django-mysql/employee/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/django-mysql/employee/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/django-mysql/employee/apps.py b/django-mysql/employee/apps.py new file mode 100644 index 0000000..b5ef142 --- /dev/null +++ b/django-mysql/employee/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class EmployeeConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'employee' diff --git a/django-mysql/employee/migrations/0001_initial.py b/django-mysql/employee/migrations/0001_initial.py new file mode 100644 index 0000000..d5e6327 --- /dev/null +++ b/django-mysql/employee/migrations/0001_initial.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.7 on 2025-07-28 10:39 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='Employee', + fields=[ + ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('name', models.CharField(max_length=100)), + ('years_of_experience', models.IntegerField()), + ('company', models.CharField(max_length=100)), + ], + ), + ] diff --git a/django-mysql/employee/migrations/__init__.py b/django-mysql/employee/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/django-mysql/employee/models.py b/django-mysql/employee/models.py new file mode 100644 index 0000000..0aa0ca8 --- /dev/null +++ b/django-mysql/employee/models.py @@ -0,0 +1,6 @@ +from django.db import models + +class Employee(models.Model): + name = models.CharField(max_length=100) + years_of_experience = models.IntegerField() + company = models.CharField(max_length=100) \ No newline at end of file diff --git a/django-mysql/employee/serializers.py b/django-mysql/employee/serializers.py new file mode 100644 index 0000000..0cf6a03 --- /dev/null +++ b/django-mysql/employee/serializers.py @@ -0,0 +1,7 @@ +from rest_framework import serializers +from .models import Employee + +class EmployeeSerializer(serializers.ModelSerializer): + class Meta: + model = Employee + fields = ['id', 'name', 'years_of_experience', 'company'] \ No newline at end of file diff --git a/django-mysql/employee/tests.py b/django-mysql/employee/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/django-mysql/employee/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/django-mysql/employee/urls.py b/django-mysql/employee/urls.py new file mode 100644 index 0000000..c50742d --- /dev/null +++ b/django-mysql/employee/urls.py @@ -0,0 +1,10 @@ +from django.urls import path +from . import views + +urlpatterns = [ + path('employee/', views.get_all_employees), + path('employee//', views.get_employee), + path('employee/create/', views.create_employee), + path('employee/update//', views.update_employee), + path('employee/delete//', views.delete_employee), +] \ No newline at end of file diff --git a/django-mysql/employee/views.py b/django-mysql/employee/views.py new file mode 100644 index 0000000..a6266be --- /dev/null +++ b/django-mysql/employee/views.py @@ -0,0 +1,53 @@ +from rest_framework import status +from rest_framework.decorators import api_view +from rest_framework.response import Response +from .models import Employee +from .serializers import EmployeeSerializer + +@api_view(['POST']) +def create_employee(request): + if request.method == 'POST': + serializer = EmployeeSerializer(data=request.data) + if serializer.is_valid(): + serializer.save() + return Response(serializer.data, status=status.HTTP_201_CREATED) + return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST) + +@api_view(['GET']) +def get_employee(request, pk): + try: + employee = Employee.objects.get(pk=pk) + except Employee.DoesNotExist: + return Response(status=status.HTTP_404_NOT_FOUND) + + serializer = EmployeeSerializer(employee) + return Response(serializer.data) + +@api_view(['GET']) +def get_all_employees(request): + employees = Employee.objects.all() + serializer = EmployeeSerializer(employees, many=True) + return Response(serializer.data) + +@api_view(['PUT']) +def update_employee(request, pk): + try: + employee = Employee.objects.get(pk=pk) + except Employee.DoesNotExist: + return Response(status=status.HTTP_404_NOT_FOUND) + + serializer = EmployeeSerializer(employee, data=request.data) + if serializer.is_valid(): + serializer.save() + return Response(serializer.data) + return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST) + +@api_view(['DELETE']) +def delete_employee(request, pk): + try: + employee = Employee.objects.get(pk=pk) + except Employee.DoesNotExist: + return Response(status=status.HTTP_404_NOT_FOUND) + + employee.delete() + return Response(status=status.HTTP_204_NO_CONTENT) \ No newline at end of file diff --git a/django-mysql/keploy.yml b/django-mysql/keploy.yml new file mode 100755 index 0000000..7366588 --- /dev/null +++ b/django-mysql/keploy.yml @@ -0,0 +1,68 @@ +# Generated by Keploy (2.6.22) +path: "" +appId: 0 +appName: django-mysql +command: sudo docker run --name django-app --net keploy-network -p 8000:8000 -v /Users/achanandhi/Documents/fix-django-mysql/samples-python/django-mysql:/Users/achanandhi/Documents/fix-django-mysql/samples-python/django-mysql --rm py-app +templatize: + testSets: [] +port: 0 +e2e: false +dnsPort: 26789 +proxyPort: 16789 +debug: false +disableTele: false +disableANSI: false +containerName: "" +networkName: "" +buildDelay: 30 +test: + selectedTests: {} + globalNoise: + global: {} + test-sets: {} + delay: 5 + host: "" + port: 0 + apiTimeout: 5 + skipCoverage: false + coverageReportPath: "" + ignoreOrdering: true + mongoPassword: default@123 + language: "" + removeUnusedMocks: false + fallBackOnMiss: false + jacocoAgentPath: "" + basePath: "" + mocking: true + ignoredTests: {} + disableLineCoverage: false + disableMockUpload: true + useLocalMock: false + updateTemplate: false + mustPass: false + maxFailAttempts: 5 + maxFlakyChecks: 1 +record: + filters: [] + basePath: "" + recordTimer: 0s + metadata: "" +configPath: "" +bypassRules: [] +generateGithubActions: false +keployContainer: keploy-v2 +keployNetwork: keploy-network +cmdType: native +contract: + services: [] + tests: [] + path: "" + download: false + generate: false + driven: consumer + mappings: + servicesMapping: {} + self: s1 +inCi: false + +# Visit [https://keploy.io/docs/running-keploy/configuration-file/] to learn about using keploy through configration file. diff --git a/django-mysql/keploy/.gitignore b/django-mysql/keploy/.gitignore new file mode 100644 index 0000000..5137843 --- /dev/null +++ b/django-mysql/keploy/.gitignore @@ -0,0 +1,2 @@ + +/reports/ diff --git a/django-mysql/keploy/test-set-0/mocks.yaml b/django-mysql/keploy/test-set-0/mocks.yaml new file mode 100755 index 0000000..22593be --- /dev/null +++ b/django-mysql/keploy/test-set-0/mocks.yaml @@ -0,0 +1,11110 @@ +# Generated by Keploy (2.6.22) +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-0 +spec: + metadata: + connID: "0" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 205 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [159, 80, 181, 197, 62, 69, 129, 144, 196, 67, 216, 102, 56, 167, 42, 207, 215, 207, 98, 235, 130, 169, 53, 119, 173, 226, 131, 121, 135, 81, 172, 145] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "8" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 13 + auth_plugin_data: [6, 35, 70, 119, 91, 56, 105, 96, 46, 74, 37, 38, 127, 32, 97, 69, 13, 30, 108, 54, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.519457421Z + restimestampmock: 2025-08-11T08:55:39.520240726Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-1 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.520401512Z + restimestampmock: 2025-08-11T08:55:39.520853579Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-2 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.520988699Z + restimestampmock: 2025-08-11T08:55:39.521213858Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-3 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.521325146Z + restimestampmock: 2025-08-11T08:55:39.521447975Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-4 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.521597844Z + restimestampmock: 2025-08-11T08:55:39.522432398Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-5 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.522705596Z + restimestampmock: 2025-08-11T08:55:39.522869424Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-6 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 206 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT\n table_name,\n table_type,\n table_comment\n FROM information_schema.tables\n WHERE table_schema = DATABASE()\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 72 + sequence_id: 2 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_NAME + org_name: TABLE_NAME + fixed_length: 12 + character_set: 33 + column_length: 192 + type: 253 + flags: 20609 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 72 + sequence_id: 3 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_TYPE + org_name: TABLE_TYPE + fixed_length: 12 + character_set: 33 + column_length: 33 + type: 254 + flags: 20873 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 60 + sequence_id: 4 + catalog: def + schema: "" + table: tables + org_table: TABLES + name: TABLE_COMMENT + org_name: TABLE_COMMENT + fixed_length: 12 + character_set: 33 + column_length: 6144 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 23 + sequence_id: 6 + values: + - type: 253 + name: TABLE_NAME + value: auth_group + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 35 + sequence_id: 7 + values: + - type: 253 + name: TABLE_NAME + value: auth_group_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 28 + sequence_id: 8 + values: + - type: 253 + name: TABLE_NAME + value: auth_permission + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 22 + sequence_id: 9 + values: + - type: 253 + name: TABLE_NAME + value: auth_user + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 10 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_groups + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 39 + sequence_id: 11 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_user_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 12 + values: + - type: 253 + name: TABLE_NAME + value: django_admin_log + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 32 + sequence_id: 13 + values: + - type: 253 + name: TABLE_NAME + value: django_content_type + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 14 + values: + - type: 253 + name: TABLE_NAME + value: django_migrations + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 27 + sequence_id: 15 + values: + - type: 253 + name: TABLE_NAME + value: django_session + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 16 + values: + - type: 253 + name: TABLE_NAME + value: employee_employee + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.523019502Z + restimestampmock: 2025-08-11T08:55:39.525621742Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-7 +spec: + metadata: + connID: "0" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 143 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_migrations`.`id`, `django_migrations`.`app`, `django_migrations`.`name`, `django_migrations`.`applied` FROM `django_migrations` + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 71 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: app + org_name: app + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: applied + org_name: applied + fixed_length: 12 + character_set: 63 + column_length: 26 + type: 12 + flags: 4225 + decimals: 6 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 34 + - 0 + rows: + - header: + payload_length: 55 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.060936" + unsigned: false + - header: + payload_length: 47 + sequence_id: 8 + values: + - type: 8 + name: id + value: "2" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.191947" + unsigned: false + - header: + payload_length: 48 + sequence_id: 9 + values: + - type: 8 + name: id + value: "3" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.227903" + unsigned: false + - header: + payload_length: 65 + sequence_id: 10 + values: + - type: 8 + name: id + value: "4" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0002_logentry_remove_auto_add + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.231588" + unsigned: false + - header: + payload_length: 73 + sequence_id: 11 + values: + - type: 8 + name: id + value: "5" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0003_logentry_add_action_flag_choices + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.235107" + unsigned: false + - header: + payload_length: 72 + sequence_id: 12 + values: + - type: 8 + name: id + value: "6" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0002_remove_content_type_name + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.263353" + unsigned: false + - header: + payload_length: 72 + sequence_id: 13 + values: + - type: 8 + name: id + value: "7" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0002_alter_permission_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.281154" + unsigned: false + - header: + payload_length: 67 + sequence_id: 14 + values: + - type: 8 + name: id + value: "8" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0003_alter_user_email_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.292015" + unsigned: false + - header: + payload_length: 64 + sequence_id: 15 + values: + - type: 8 + name: id + value: "9" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0004_alter_user_username_opts + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.295622" + unsigned: false + - header: + payload_length: 67 + sequence_id: 16 + values: + - type: 8 + name: id + value: "10" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0005_alter_user_last_login_null + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.311170" + unsigned: false + - header: + payload_length: 66 + sequence_id: 17 + values: + - type: 8 + name: id + value: "11" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0006_require_contenttypes_0002 + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.312336" + unsigned: false + - header: + payload_length: 76 + sequence_id: 18 + values: + - type: 8 + name: id + value: "12" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0007_alter_validators_add_error_messages + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.315849" + unsigned: false + - header: + payload_length: 71 + sequence_id: 19 + values: + - type: 8 + name: id + value: "13" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0008_alter_user_username_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.333418" + unsigned: false + - header: + payload_length: 72 + sequence_id: 20 + values: + - type: 8 + name: id + value: "14" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0009_alter_user_last_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.365192" + unsigned: false + - header: + payload_length: 68 + sequence_id: 21 + values: + - type: 8 + name: id + value: "15" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0010_alter_group_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.373883" + unsigned: false + - header: + payload_length: 65 + sequence_id: 22 + values: + - type: 8 + name: id + value: "16" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0011_update_proxy_permissions + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.377728" + unsigned: false + - header: + payload_length: 73 + sequence_id: 23 + values: + - type: 8 + name: id + value: "17" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0012_alter_user_first_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.396530" + unsigned: false + - header: + payload_length: 52 + sequence_id: 24 + values: + - type: 8 + name: id + value: "18" + unsigned: false + - type: 253 + name: app + value: employee + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.402803" + unsigned: false + - header: + payload_length: 52 + sequence_id: 25 + values: + - type: 8 + name: id + value: "19" + unsigned: false + - type: 253 + name: app + value: sessions + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.414307" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 26 + - 254 + - 0 + - 0 + - 34 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.527128271Z + restimestampmock: 2025-08-11T08:55:39.528167942Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-8 +spec: + metadata: + connID: "2" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 205 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [102, 151, 164, 74, 211, 56, 217, 185, 38, 141, 228, 28, 47, 160, 213, 151, 32, 191, 59, 252, 221, 254, 37, 212, 231, 190, 16, 37, 23, 178, 79, 11] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "9" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 14 + auth_plugin_data: [11, 117, 111, 60, 50, 31, 2, 107, 115, 54, 69, 38, 110, 48, 1, 63, 81, 23, 34, 45, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.745793102Z + restimestampmock: 2025-08-11T08:55:39.746304626Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-9 +spec: + metadata: + connID: "2" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.746422496Z + restimestampmock: 2025-08-11T08:55:39.746625197Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-10 +spec: + metadata: + connID: "2" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.746726027Z + restimestampmock: 2025-08-11T08:55:39.746861231Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-11 +spec: + metadata: + connID: "2" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.746972935Z + restimestampmock: 2025-08-11T08:55:39.74710868Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-12 +spec: + metadata: + connID: "2" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.747267549Z + restimestampmock: 2025-08-11T08:55:39.747710117Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-13 +spec: + metadata: + connID: "2" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.748420425Z + restimestampmock: 2025-08-11T08:55:39.74869129Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-14 +spec: + metadata: + connID: "2" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.749347433Z + restimestampmock: 2025-08-11T08:55:39.749632256Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-15 +spec: + metadata: + connID: "4" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 205 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [183, 212, 218, 81, 51, 20, 165, 152, 78, 232, 168, 254, 194, 80, 211, 86, 87, 87, 253, 37, 156, 34, 220, 72, 86, 227, 20, 36, 174, 252, 81, 142] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "9" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 15 + auth_plugin_data: [1, 58, 111, 77, 105, 20, 9, 94, 31, 92, 55, 72, 121, 127, 99, 110, 77, 126, 102, 96, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.762392632Z + restimestampmock: 2025-08-11T08:55:39.762655373Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-16 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.762759161Z + restimestampmock: 2025-08-11T08:55:39.762934613Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-17 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.763001944Z + restimestampmock: 2025-08-11T08:55:39.763116898Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-18 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.763180396Z + restimestampmock: 2025-08-11T08:55:39.763286975Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-19 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.763398263Z + restimestampmock: 2025-08-11T08:55:39.763512134Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-20 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 206 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT\n table_name,\n table_type,\n table_comment\n FROM information_schema.tables\n WHERE table_schema = DATABASE()\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 72 + sequence_id: 2 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_NAME + org_name: TABLE_NAME + fixed_length: 12 + character_set: 33 + column_length: 192 + type: 253 + flags: 20609 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 72 + sequence_id: 3 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_TYPE + org_name: TABLE_TYPE + fixed_length: 12 + character_set: 33 + column_length: 33 + type: 254 + flags: 20873 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 60 + sequence_id: 4 + catalog: def + schema: "" + table: tables + org_table: TABLES + name: TABLE_COMMENT + org_name: TABLE_COMMENT + fixed_length: 12 + character_set: 33 + column_length: 6144 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 23 + sequence_id: 6 + values: + - type: 253 + name: TABLE_NAME + value: auth_group + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 35 + sequence_id: 7 + values: + - type: 253 + name: TABLE_NAME + value: auth_group_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 28 + sequence_id: 8 + values: + - type: 253 + name: TABLE_NAME + value: auth_permission + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 22 + sequence_id: 9 + values: + - type: 253 + name: TABLE_NAME + value: auth_user + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 10 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_groups + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 39 + sequence_id: 11 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_user_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 12 + values: + - type: 253 + name: TABLE_NAME + value: django_admin_log + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 32 + sequence_id: 13 + values: + - type: 253 + name: TABLE_NAME + value: django_content_type + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 14 + values: + - type: 253 + name: TABLE_NAME + value: django_migrations + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 27 + sequence_id: 15 + values: + - type: 253 + name: TABLE_NAME + value: django_session + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 16 + values: + - type: 253 + name: TABLE_NAME + value: employee_employee + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.76362438Z + restimestampmock: 2025-08-11T08:55:39.765156783Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-21 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 143 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_migrations`.`id`, `django_migrations`.`app`, `django_migrations`.`name`, `django_migrations`.`applied` FROM `django_migrations` + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 71 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: app + org_name: app + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: applied + org_name: applied + fixed_length: 12 + character_set: 63 + column_length: 26 + type: 12 + flags: 4225 + decimals: 6 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 34 + - 0 + rows: + - header: + payload_length: 55 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.060936" + unsigned: false + - header: + payload_length: 47 + sequence_id: 8 + values: + - type: 8 + name: id + value: "2" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.191947" + unsigned: false + - header: + payload_length: 48 + sequence_id: 9 + values: + - type: 8 + name: id + value: "3" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.227903" + unsigned: false + - header: + payload_length: 65 + sequence_id: 10 + values: + - type: 8 + name: id + value: "4" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0002_logentry_remove_auto_add + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.231588" + unsigned: false + - header: + payload_length: 73 + sequence_id: 11 + values: + - type: 8 + name: id + value: "5" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0003_logentry_add_action_flag_choices + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.235107" + unsigned: false + - header: + payload_length: 72 + sequence_id: 12 + values: + - type: 8 + name: id + value: "6" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0002_remove_content_type_name + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.263353" + unsigned: false + - header: + payload_length: 72 + sequence_id: 13 + values: + - type: 8 + name: id + value: "7" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0002_alter_permission_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.281154" + unsigned: false + - header: + payload_length: 67 + sequence_id: 14 + values: + - type: 8 + name: id + value: "8" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0003_alter_user_email_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.292015" + unsigned: false + - header: + payload_length: 64 + sequence_id: 15 + values: + - type: 8 + name: id + value: "9" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0004_alter_user_username_opts + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.295622" + unsigned: false + - header: + payload_length: 67 + sequence_id: 16 + values: + - type: 8 + name: id + value: "10" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0005_alter_user_last_login_null + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.311170" + unsigned: false + - header: + payload_length: 66 + sequence_id: 17 + values: + - type: 8 + name: id + value: "11" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0006_require_contenttypes_0002 + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.312336" + unsigned: false + - header: + payload_length: 76 + sequence_id: 18 + values: + - type: 8 + name: id + value: "12" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0007_alter_validators_add_error_messages + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.315849" + unsigned: false + - header: + payload_length: 71 + sequence_id: 19 + values: + - type: 8 + name: id + value: "13" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0008_alter_user_username_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.333418" + unsigned: false + - header: + payload_length: 72 + sequence_id: 20 + values: + - type: 8 + name: id + value: "14" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0009_alter_user_last_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.365192" + unsigned: false + - header: + payload_length: 68 + sequence_id: 21 + values: + - type: 8 + name: id + value: "15" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0010_alter_group_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.373883" + unsigned: false + - header: + payload_length: 65 + sequence_id: 22 + values: + - type: 8 + name: id + value: "16" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0011_update_proxy_permissions + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.377728" + unsigned: false + - header: + payload_length: 73 + sequence_id: 23 + values: + - type: 8 + name: id + value: "17" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0012_alter_user_first_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.396530" + unsigned: false + - header: + payload_length: 52 + sequence_id: 24 + values: + - type: 8 + name: id + value: "18" + unsigned: false + - type: 253 + name: app + value: employee + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.402803" + unsigned: false + - header: + payload_length: 52 + sequence_id: 25 + values: + - type: 8 + name: id + value: "19" + unsigned: false + - type: 253 + name: app + value: sessions + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.414307" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 26 + - 254 + - 0 + - 0 + - 34 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.76646082Z + restimestampmock: 2025-08-11T08:55:39.767457784Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-22 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 206 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT\n table_name,\n table_type,\n table_comment\n FROM information_schema.tables\n WHERE table_schema = DATABASE()\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 72 + sequence_id: 2 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_NAME + org_name: TABLE_NAME + fixed_length: 12 + character_set: 33 + column_length: 192 + type: 253 + flags: 20609 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 72 + sequence_id: 3 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_TYPE + org_name: TABLE_TYPE + fixed_length: 12 + character_set: 33 + column_length: 33 + type: 254 + flags: 20873 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 60 + sequence_id: 4 + catalog: def + schema: "" + table: tables + org_table: TABLES + name: TABLE_COMMENT + org_name: TABLE_COMMENT + fixed_length: 12 + character_set: 33 + column_length: 6144 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 23 + sequence_id: 6 + values: + - type: 253 + name: TABLE_NAME + value: auth_group + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 35 + sequence_id: 7 + values: + - type: 253 + name: TABLE_NAME + value: auth_group_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 28 + sequence_id: 8 + values: + - type: 253 + name: TABLE_NAME + value: auth_permission + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 22 + sequence_id: 9 + values: + - type: 253 + name: TABLE_NAME + value: auth_user + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 10 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_groups + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 39 + sequence_id: 11 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_user_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 12 + values: + - type: 253 + name: TABLE_NAME + value: django_admin_log + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 32 + sequence_id: 13 + values: + - type: 253 + name: TABLE_NAME + value: django_content_type + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 14 + values: + - type: 253 + name: TABLE_NAME + value: django_migrations + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 27 + sequence_id: 15 + values: + - type: 253 + name: TABLE_NAME + value: django_session + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 16 + values: + - type: 253 + name: TABLE_NAME + value: employee_employee + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.767871561Z + restimestampmock: 2025-08-11T08:55:39.769124891Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-23 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 143 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_migrations`.`id`, `django_migrations`.`app`, `django_migrations`.`name`, `django_migrations`.`applied` FROM `django_migrations` + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 71 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: app + org_name: app + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: applied + org_name: applied + fixed_length: 12 + character_set: 63 + column_length: 26 + type: 12 + flags: 4225 + decimals: 6 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 34 + - 0 + rows: + - header: + payload_length: 55 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.060936" + unsigned: false + - header: + payload_length: 47 + sequence_id: 8 + values: + - type: 8 + name: id + value: "2" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.191947" + unsigned: false + - header: + payload_length: 48 + sequence_id: 9 + values: + - type: 8 + name: id + value: "3" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.227903" + unsigned: false + - header: + payload_length: 65 + sequence_id: 10 + values: + - type: 8 + name: id + value: "4" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0002_logentry_remove_auto_add + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.231588" + unsigned: false + - header: + payload_length: 73 + sequence_id: 11 + values: + - type: 8 + name: id + value: "5" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0003_logentry_add_action_flag_choices + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.235107" + unsigned: false + - header: + payload_length: 72 + sequence_id: 12 + values: + - type: 8 + name: id + value: "6" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0002_remove_content_type_name + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.263353" + unsigned: false + - header: + payload_length: 72 + sequence_id: 13 + values: + - type: 8 + name: id + value: "7" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0002_alter_permission_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.281154" + unsigned: false + - header: + payload_length: 67 + sequence_id: 14 + values: + - type: 8 + name: id + value: "8" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0003_alter_user_email_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.292015" + unsigned: false + - header: + payload_length: 64 + sequence_id: 15 + values: + - type: 8 + name: id + value: "9" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0004_alter_user_username_opts + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.295622" + unsigned: false + - header: + payload_length: 67 + sequence_id: 16 + values: + - type: 8 + name: id + value: "10" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0005_alter_user_last_login_null + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.311170" + unsigned: false + - header: + payload_length: 66 + sequence_id: 17 + values: + - type: 8 + name: id + value: "11" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0006_require_contenttypes_0002 + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.312336" + unsigned: false + - header: + payload_length: 76 + sequence_id: 18 + values: + - type: 8 + name: id + value: "12" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0007_alter_validators_add_error_messages + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.315849" + unsigned: false + - header: + payload_length: 71 + sequence_id: 19 + values: + - type: 8 + name: id + value: "13" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0008_alter_user_username_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.333418" + unsigned: false + - header: + payload_length: 72 + sequence_id: 20 + values: + - type: 8 + name: id + value: "14" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0009_alter_user_last_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.365192" + unsigned: false + - header: + payload_length: 68 + sequence_id: 21 + values: + - type: 8 + name: id + value: "15" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0010_alter_group_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.373883" + unsigned: false + - header: + payload_length: 65 + sequence_id: 22 + values: + - type: 8 + name: id + value: "16" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0011_update_proxy_permissions + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.377728" + unsigned: false + - header: + payload_length: 73 + sequence_id: 23 + values: + - type: 8 + name: id + value: "17" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0012_alter_user_first_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.396530" + unsigned: false + - header: + payload_length: 52 + sequence_id: 24 + values: + - type: 8 + name: id + value: "18" + unsigned: false + - type: 253 + name: app + value: employee + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.402803" + unsigned: false + - header: + payload_length: 52 + sequence_id: 25 + values: + - type: 8 + name: id + value: "19" + unsigned: false + - type: 253 + name: app + value: sessions + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.414307" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 26 + - 254 + - 0 + - 0 + - 34 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.769350758Z + restimestampmock: 2025-08-11T08:55:39.770021109Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-24 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 206 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT\n table_name,\n table_type,\n table_comment\n FROM information_schema.tables\n WHERE table_schema = DATABASE()\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 72 + sequence_id: 2 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_NAME + org_name: TABLE_NAME + fixed_length: 12 + character_set: 33 + column_length: 192 + type: 253 + flags: 20609 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 72 + sequence_id: 3 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_TYPE + org_name: TABLE_TYPE + fixed_length: 12 + character_set: 33 + column_length: 33 + type: 254 + flags: 20873 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 60 + sequence_id: 4 + catalog: def + schema: "" + table: tables + org_table: TABLES + name: TABLE_COMMENT + org_name: TABLE_COMMENT + fixed_length: 12 + character_set: 33 + column_length: 6144 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 23 + sequence_id: 6 + values: + - type: 253 + name: TABLE_NAME + value: auth_group + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 35 + sequence_id: 7 + values: + - type: 253 + name: TABLE_NAME + value: auth_group_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 28 + sequence_id: 8 + values: + - type: 253 + name: TABLE_NAME + value: auth_permission + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 22 + sequence_id: 9 + values: + - type: 253 + name: TABLE_NAME + value: auth_user + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 10 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_groups + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 39 + sequence_id: 11 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_user_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 12 + values: + - type: 253 + name: TABLE_NAME + value: django_admin_log + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 32 + sequence_id: 13 + values: + - type: 253 + name: TABLE_NAME + value: django_content_type + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 14 + values: + - type: 253 + name: TABLE_NAME + value: django_migrations + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 27 + sequence_id: 15 + values: + - type: 253 + name: TABLE_NAME + value: django_session + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 16 + values: + - type: 253 + name: TABLE_NAME + value: employee_employee + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.776537792Z + restimestampmock: 2025-08-11T08:55:39.777678918Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-25 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 206 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT\n table_name,\n table_type,\n table_comment\n FROM information_schema.tables\n WHERE table_schema = DATABASE()\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 72 + sequence_id: 2 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_NAME + org_name: TABLE_NAME + fixed_length: 12 + character_set: 33 + column_length: 192 + type: 253 + flags: 20609 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 72 + sequence_id: 3 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_TYPE + org_name: TABLE_TYPE + fixed_length: 12 + character_set: 33 + column_length: 33 + type: 254 + flags: 20873 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 60 + sequence_id: 4 + catalog: def + schema: "" + table: tables + org_table: TABLES + name: TABLE_COMMENT + org_name: TABLE_COMMENT + fixed_length: 12 + character_set: 33 + column_length: 6144 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 23 + sequence_id: 6 + values: + - type: 253 + name: TABLE_NAME + value: auth_group + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 35 + sequence_id: 7 + values: + - type: 253 + name: TABLE_NAME + value: auth_group_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 28 + sequence_id: 8 + values: + - type: 253 + name: TABLE_NAME + value: auth_permission + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 22 + sequence_id: 9 + values: + - type: 253 + name: TABLE_NAME + value: auth_user + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 10 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_groups + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 39 + sequence_id: 11 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_user_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 12 + values: + - type: 253 + name: TABLE_NAME + value: django_admin_log + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 32 + sequence_id: 13 + values: + - type: 253 + name: TABLE_NAME + value: django_content_type + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 14 + values: + - type: 253 + name: TABLE_NAME + value: django_migrations + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 27 + sequence_id: 15 + values: + - type: 253 + name: TABLE_NAME + value: django_session + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 16 + values: + - type: 253 + name: TABLE_NAME + value: employee_employee + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.777968949Z + restimestampmock: 2025-08-11T08:55:39.779027661Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-26 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 143 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_migrations`.`id`, `django_migrations`.`app`, `django_migrations`.`name`, `django_migrations`.`applied` FROM `django_migrations` + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 71 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: app + org_name: app + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: applied + org_name: applied + fixed_length: 12 + character_set: 63 + column_length: 26 + type: 12 + flags: 4225 + decimals: 6 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 34 + - 0 + rows: + - header: + payload_length: 55 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.060936" + unsigned: false + - header: + payload_length: 47 + sequence_id: 8 + values: + - type: 8 + name: id + value: "2" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.191947" + unsigned: false + - header: + payload_length: 48 + sequence_id: 9 + values: + - type: 8 + name: id + value: "3" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.227903" + unsigned: false + - header: + payload_length: 65 + sequence_id: 10 + values: + - type: 8 + name: id + value: "4" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0002_logentry_remove_auto_add + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.231588" + unsigned: false + - header: + payload_length: 73 + sequence_id: 11 + values: + - type: 8 + name: id + value: "5" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0003_logentry_add_action_flag_choices + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.235107" + unsigned: false + - header: + payload_length: 72 + sequence_id: 12 + values: + - type: 8 + name: id + value: "6" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0002_remove_content_type_name + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.263353" + unsigned: false + - header: + payload_length: 72 + sequence_id: 13 + values: + - type: 8 + name: id + value: "7" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0002_alter_permission_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.281154" + unsigned: false + - header: + payload_length: 67 + sequence_id: 14 + values: + - type: 8 + name: id + value: "8" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0003_alter_user_email_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.292015" + unsigned: false + - header: + payload_length: 64 + sequence_id: 15 + values: + - type: 8 + name: id + value: "9" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0004_alter_user_username_opts + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.295622" + unsigned: false + - header: + payload_length: 67 + sequence_id: 16 + values: + - type: 8 + name: id + value: "10" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0005_alter_user_last_login_null + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.311170" + unsigned: false + - header: + payload_length: 66 + sequence_id: 17 + values: + - type: 8 + name: id + value: "11" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0006_require_contenttypes_0002 + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.312336" + unsigned: false + - header: + payload_length: 76 + sequence_id: 18 + values: + - type: 8 + name: id + value: "12" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0007_alter_validators_add_error_messages + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.315849" + unsigned: false + - header: + payload_length: 71 + sequence_id: 19 + values: + - type: 8 + name: id + value: "13" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0008_alter_user_username_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.333418" + unsigned: false + - header: + payload_length: 72 + sequence_id: 20 + values: + - type: 8 + name: id + value: "14" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0009_alter_user_last_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.365192" + unsigned: false + - header: + payload_length: 68 + sequence_id: 21 + values: + - type: 8 + name: id + value: "15" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0010_alter_group_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.373883" + unsigned: false + - header: + payload_length: 65 + sequence_id: 22 + values: + - type: 8 + name: id + value: "16" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0011_update_proxy_permissions + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.377728" + unsigned: false + - header: + payload_length: 73 + sequence_id: 23 + values: + - type: 8 + name: id + value: "17" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0012_alter_user_first_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.396530" + unsigned: false + - header: + payload_length: 52 + sequence_id: 24 + values: + - type: 8 + name: id + value: "18" + unsigned: false + - type: 253 + name: app + value: employee + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.402803" + unsigned: false + - header: + payload_length: 52 + sequence_id: 25 + values: + - type: 8 + name: id + value: "19" + unsigned: false + - type: 253 + name: app + value: sessions + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.414307" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 26 + - 254 + - 0 + - 0 + - 34 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.779380815Z + restimestampmock: 2025-08-11T08:55:39.78061148Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-27 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 177 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'admin' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 17 + sequence_id: 6 + values: + - type: 3 + name: id + value: "1" + unsigned: false + - type: 253 + name: app_label + value: admin + unsigned: false + - type: 253 + name: model + value: logentry + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.781688316Z + restimestampmock: 2025-08-11T08:55:39.782228463Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-28 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 235 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'admin' AND `django_content_type`.`model` = 'logentry') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 17 + sequence_id: 6 + values: + - type: 3 + name: id + value: "1" + unsigned: false + - type: 253 + name: app_label + value: admin + unsigned: false + - type: 253 + name: model + value: logentry + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.782586951Z + restimestampmock: 2025-08-11T08:55:39.782946438Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-29 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 364 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (1) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 2 + columns: + - header: + payload_length: 91 + sequence_id: 2 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: content_type_id + org_name: content_type_id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 77 + sequence_id: 3 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: codename + org_name: codename + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 4 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 15 + sequence_id: 5 + values: + - type: 3 + name: content_type_id + value: "1" + unsigned: false + - type: 253 + name: codename + value: add_logentry + unsigned: false + - header: + payload_length: 18 + sequence_id: 6 + values: + - type: 3 + name: content_type_id + value: "1" + unsigned: false + - type: 253 + name: codename + value: change_logentry + unsigned: false + - header: + payload_length: 18 + sequence_id: 7 + values: + - type: 3 + name: content_type_id + value: "1" + unsigned: false + - type: 253 + name: codename + value: delete_logentry + unsigned: false + - header: + payload_length: 16 + sequence_id: 8 + values: + - type: 3 + name: content_type_id + value: "1" + unsigned: false + - type: 253 + name: codename + value: view_logentry + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 9 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.783866946Z + restimestampmock: 2025-08-11T08:55:39.784482966Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-30 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 177 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'admin' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 17 + sequence_id: 6 + values: + - type: 3 + name: id + value: "1" + unsigned: false + - type: 253 + name: app_label + value: admin + unsigned: false + - type: 253 + name: model + value: logentry + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.785721922Z + restimestampmock: 2025-08-11T08:55:39.78619353Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-31 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 176 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'auth' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 13 + sequence_id: 6 + values: + - type: 3 + name: id + value: "3" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: group + unsigned: false + - header: + payload_length: 18 + sequence_id: 7 + values: + - type: 3 + name: id + value: "2" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: permission + unsigned: false + - header: + payload_length: 12 + sequence_id: 8 + values: + - type: 3 + name: id + value: "4" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: user + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 9 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.786540434Z + restimestampmock: 2025-08-11T08:55:39.786942419Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-32 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 236 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'auth' AND `django_content_type`.`model` = 'permission') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 18 + sequence_id: 6 + values: + - type: 3 + name: id + value: "2" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: permission + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.787269491Z + restimestampmock: 2025-08-11T08:55:39.787597229Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-33 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 231 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'auth' AND `django_content_type`.`model` = 'group') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 13 + sequence_id: 6 + values: + - type: 3 + name: id + value: "3" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: group + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.788105669Z + restimestampmock: 2025-08-11T08:55:39.788384201Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-34 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 230 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'auth' AND `django_content_type`.`model` = 'user') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 12 + sequence_id: 6 + values: + - type: 3 + name: id + value: "4" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: user + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.788880017Z + restimestampmock: 2025-08-11T08:55:39.789215046Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-35 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 370 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (2, 3, 4) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 2 + columns: + - header: + payload_length: 91 + sequence_id: 2 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: content_type_id + org_name: content_type_id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 77 + sequence_id: 3 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: codename + org_name: codename + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 4 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 12 + sequence_id: 5 + values: + - type: 3 + name: content_type_id + value: "3" + unsigned: false + - type: 253 + name: codename + value: add_group + unsigned: false + - header: + payload_length: 15 + sequence_id: 6 + values: + - type: 3 + name: content_type_id + value: "3" + unsigned: false + - type: 253 + name: codename + value: change_group + unsigned: false + - header: + payload_length: 15 + sequence_id: 7 + values: + - type: 3 + name: content_type_id + value: "3" + unsigned: false + - type: 253 + name: codename + value: delete_group + unsigned: false + - header: + payload_length: 13 + sequence_id: 8 + values: + - type: 3 + name: content_type_id + value: "3" + unsigned: false + - type: 253 + name: codename + value: view_group + unsigned: false + - header: + payload_length: 17 + sequence_id: 9 + values: + - type: 3 + name: content_type_id + value: "2" + unsigned: false + - type: 253 + name: codename + value: add_permission + unsigned: false + - header: + payload_length: 20 + sequence_id: 10 + values: + - type: 3 + name: content_type_id + value: "2" + unsigned: false + - type: 253 + name: codename + value: change_permission + unsigned: false + - header: + payload_length: 20 + sequence_id: 11 + values: + - type: 3 + name: content_type_id + value: "2" + unsigned: false + - type: 253 + name: codename + value: delete_permission + unsigned: false + - header: + payload_length: 18 + sequence_id: 12 + values: + - type: 3 + name: content_type_id + value: "2" + unsigned: false + - type: 253 + name: codename + value: view_permission + unsigned: false + - header: + payload_length: 11 + sequence_id: 13 + values: + - type: 3 + name: content_type_id + value: "4" + unsigned: false + - type: 253 + name: codename + value: add_user + unsigned: false + - header: + payload_length: 14 + sequence_id: 14 + values: + - type: 3 + name: content_type_id + value: "4" + unsigned: false + - type: 253 + name: codename + value: change_user + unsigned: false + - header: + payload_length: 14 + sequence_id: 15 + values: + - type: 3 + name: content_type_id + value: "4" + unsigned: false + - type: 253 + name: codename + value: delete_user + unsigned: false + - header: + payload_length: 12 + sequence_id: 16 + values: + - type: 3 + name: content_type_id + value: "4" + unsigned: false + - type: 253 + name: codename + value: view_user + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.790210844Z + restimestampmock: 2025-08-11T08:55:39.790989774Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-36 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 176 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'auth' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 13 + sequence_id: 6 + values: + - type: 3 + name: id + value: "3" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: group + unsigned: false + - header: + payload_length: 18 + sequence_id: 7 + values: + - type: 3 + name: id + value: "2" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: permission + unsigned: false + - header: + payload_length: 12 + sequence_id: 8 + values: + - type: 3 + name: id + value: "4" + unsigned: false + - type: 253 + name: app_label + value: auth + unsigned: false + - type: 253 + name: model + value: user + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 9 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.79135247Z + restimestampmock: 2025-08-11T08:55:39.791673208Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-37 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 184 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'contenttypes' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 27 + sequence_id: 6 + values: + - type: 3 + name: id + value: "5" + unsigned: false + - type: 253 + name: app_label + value: contenttypes + unsigned: false + - type: 253 + name: model + value: contenttype + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.792134692Z + restimestampmock: 2025-08-11T08:55:39.792431306Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-38 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 245 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'contenttypes' AND `django_content_type`.`model` = 'contenttype') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 27 + sequence_id: 6 + values: + - type: 3 + name: id + value: "5" + unsigned: false + - type: 253 + name: app_label + value: contenttypes + unsigned: false + - type: 253 + name: model + value: contenttype + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.792765877Z + restimestampmock: 2025-08-11T08:55:39.793058534Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-39 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 364 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (5) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 2 + columns: + - header: + payload_length: 91 + sequence_id: 2 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: content_type_id + org_name: content_type_id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 77 + sequence_id: 3 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: codename + org_name: codename + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 4 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 18 + sequence_id: 5 + values: + - type: 3 + name: content_type_id + value: "5" + unsigned: false + - type: 253 + name: codename + value: add_contenttype + unsigned: false + - header: + payload_length: 21 + sequence_id: 6 + values: + - type: 3 + name: content_type_id + value: "5" + unsigned: false + - type: 253 + name: codename + value: change_contenttype + unsigned: false + - header: + payload_length: 21 + sequence_id: 7 + values: + - type: 3 + name: content_type_id + value: "5" + unsigned: false + - type: 253 + name: codename + value: delete_contenttype + unsigned: false + - header: + payload_length: 19 + sequence_id: 8 + values: + - type: 3 + name: content_type_id + value: "5" + unsigned: false + - type: 253 + name: codename + value: view_contenttype + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 9 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.793613305Z + restimestampmock: 2025-08-11T08:55:39.79403979Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-40 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 184 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'contenttypes' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 27 + sequence_id: 6 + values: + - type: 3 + name: id + value: "5" + unsigned: false + - type: 253 + name: app_label + value: contenttypes + unsigned: false + - type: 253 + name: model + value: contenttype + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.794343696Z + restimestampmock: 2025-08-11T08:55:39.794723807Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-41 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 180 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'sessions' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 19 + sequence_id: 6 + values: + - type: 3 + name: id + value: "6" + unsigned: false + - type: 253 + name: app_label + value: sessions + unsigned: false + - type: 253 + name: model + value: session + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.795045837Z + restimestampmock: 2025-08-11T08:55:39.795305203Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-42 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 237 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'sessions' AND `django_content_type`.`model` = 'session') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 19 + sequence_id: 6 + values: + - type: 3 + name: id + value: "6" + unsigned: false + - type: 253 + name: app_label + value: sessions + unsigned: false + - type: 253 + name: model + value: session + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.795742854Z + restimestampmock: 2025-08-11T08:55:39.796068259Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-43 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 364 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (6) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 2 + columns: + - header: + payload_length: 91 + sequence_id: 2 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: content_type_id + org_name: content_type_id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 77 + sequence_id: 3 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: codename + org_name: codename + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 4 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 14 + sequence_id: 5 + values: + - type: 3 + name: content_type_id + value: "6" + unsigned: false + - type: 253 + name: codename + value: add_session + unsigned: false + - header: + payload_length: 17 + sequence_id: 6 + values: + - type: 3 + name: content_type_id + value: "6" + unsigned: false + - type: 253 + name: codename + value: change_session + unsigned: false + - header: + payload_length: 17 + sequence_id: 7 + values: + - type: 3 + name: content_type_id + value: "6" + unsigned: false + - type: 253 + name: codename + value: delete_session + unsigned: false + - header: + payload_length: 15 + sequence_id: 8 + values: + - type: 3 + name: content_type_id + value: "6" + unsigned: false + - type: 253 + name: codename + value: view_session + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 9 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.796652863Z + restimestampmock: 2025-08-11T08:55:39.797038016Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-44 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 180 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'sessions' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 19 + sequence_id: 6 + values: + - type: 3 + name: id + value: "6" + unsigned: false + - type: 253 + name: app_label + value: sessions + unsigned: false + - type: 253 + name: model + value: session + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.79730834Z + restimestampmock: 2025-08-11T08:55:39.79761987Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-45 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 180 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'employee' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 20 + sequence_id: 6 + values: + - type: 3 + name: id + value: "7" + unsigned: false + - type: 253 + name: app_label + value: employee + unsigned: false + - type: 253 + name: model + value: employee + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.797999815Z + restimestampmock: 2025-08-11T08:55:39.798273388Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-46 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 238 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`app_label` = 'employee' AND `django_content_type`.`model` = 'employee') LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 20 + sequence_id: 6 + values: + - type: 3 + name: id + value: "7" + unsigned: false + - type: 253 + name: app_label + value: employee + unsigned: false + - type: 253 + name: model + value: employee + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.798597252Z + restimestampmock: 2025-08-11T08:55:39.798886575Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-47 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 364 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (7) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 2 + columns: + - header: + payload_length: 91 + sequence_id: 2 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: content_type_id + org_name: content_type_id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 77 + sequence_id: 3 + catalog: def + schema: keploy_db + table: auth_permission + org_table: auth_permission + name: codename + org_name: codename + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 4 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 15 + sequence_id: 5 + values: + - type: 3 + name: content_type_id + value: "7" + unsigned: false + - type: 253 + name: codename + value: add_employee + unsigned: false + - header: + payload_length: 18 + sequence_id: 6 + values: + - type: 3 + name: content_type_id + value: "7" + unsigned: false + - type: 253 + name: codename + value: change_employee + unsigned: false + - header: + payload_length: 18 + sequence_id: 7 + values: + - type: 3 + name: content_type_id + value: "7" + unsigned: false + - type: 253 + name: codename + value: delete_employee + unsigned: false + - header: + payload_length: 16 + sequence_id: 8 + values: + - type: 3 + name: content_type_id + value: "7" + unsigned: false + - type: 253 + name: codename + value: view_employee + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 9 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.799564384Z + restimestampmock: 2025-08-11T08:55:39.799994452Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-48 +spec: + metadata: + connID: "4" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 180 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_content_type`.`id`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE `django_content_type`.`app_label` = 'employee' + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 73 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 87 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: app_label + org_name: app_label + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20489 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_content_type + org_table: django_content_type + name: model + org_name: model + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 20481 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 20 + sequence_id: 6 + values: + - type: 3 + name: id + value: "7" + unsigned: false + - type: 253 + name: app_label + value: employee + unsigned: false + - type: 253 + name: model + value: employee + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 7 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902539 + reqtimestampmock: 2025-08-11T08:55:39.800402395Z + restimestampmock: 2025-08-11T08:55:39.800589847Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-49 +spec: + metadata: + connID: "6" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 206 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [15, 61, 165, 93, 248, 42, 142, 169, 202, 144, 134, 224, 191, 10, 111, 109, 63, 45, 123, 95, 84, 217, 205, 73, 159, 246, 107, 101, 250, 241, 95, 120] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "10" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 16 + auth_plugin_data: [22, 38, 115, 43, 102, 88, 13, 61, 24, 32, 24, 114, 122, 24, 11, 50, 84, 50, 89, 65, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.113738663Z + restimestampmock: 2025-08-11T08:55:40.114166064Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-50 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.114311017Z + restimestampmock: 2025-08-11T08:55:40.114498844Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-51 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.11465263Z + restimestampmock: 2025-08-11T08:55:40.114769626Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-52 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.114887163Z + restimestampmock: 2025-08-11T08:55:40.115037325Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-53 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.115209652Z + restimestampmock: 2025-08-11T08:55:40.115659969Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-54 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.116394609Z + restimestampmock: 2025-08-11T08:55:40.116434858Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-55 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 206 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT\n table_name,\n table_type,\n table_comment\n FROM information_schema.tables\n WHERE table_schema = DATABASE()\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 3 + columns: + - header: + payload_length: 72 + sequence_id: 2 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_NAME + org_name: TABLE_NAME + fixed_length: 12 + character_set: 33 + column_length: 192 + type: 253 + flags: 20609 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 72 + sequence_id: 3 + catalog: def + schema: information_schema + table: tables + org_table: TABLES + name: TABLE_TYPE + org_name: TABLE_TYPE + fixed_length: 12 + character_set: 33 + column_length: 33 + type: 254 + flags: 20873 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 60 + sequence_id: 4 + catalog: def + schema: "" + table: tables + org_table: TABLES + name: TABLE_COMMENT + org_name: TABLE_COMMENT + fixed_length: 12 + character_set: 33 + column_length: 6144 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 5 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 23 + sequence_id: 6 + values: + - type: 253 + name: TABLE_NAME + value: auth_group + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 35 + sequence_id: 7 + values: + - type: 253 + name: TABLE_NAME + value: auth_group_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 28 + sequence_id: 8 + values: + - type: 253 + name: TABLE_NAME + value: auth_permission + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 22 + sequence_id: 9 + values: + - type: 253 + name: TABLE_NAME + value: auth_user + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 10 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_groups + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 39 + sequence_id: 11 + values: + - type: 253 + name: TABLE_NAME + value: auth_user_user_permissions + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 29 + sequence_id: 12 + values: + - type: 253 + name: TABLE_NAME + value: django_admin_log + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 32 + sequence_id: 13 + values: + - type: 253 + name: TABLE_NAME + value: django_content_type + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 14 + values: + - type: 253 + name: TABLE_NAME + value: django_migrations + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 27 + sequence_id: 15 + values: + - type: 253 + name: TABLE_NAME + value: django_session + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + - header: + payload_length: 30 + sequence_id: 16 + values: + - type: 253 + name: TABLE_NAME + value: employee_employee + unsigned: false + - type: 254 + name: TABLE_TYPE + value: BASE TABLE + unsigned: false + - type: 253 + name: TABLE_COMMENT + value: "" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 17 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.116793928Z + restimestampmock: 2025-08-11T08:55:40.118076132Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-56 +spec: + metadata: + connID: "6" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 143 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `django_migrations`.`id`, `django_migrations`.`app`, `django_migrations`.`name`, `django_migrations`.`applied` FROM `django_migrations` + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 71 + sequence_id: 3 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: app + org_name: app + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 4 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 765 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: django_migrations + org_table: django_migrations + name: applied + org_name: applied + fixed_length: 12 + character_set: 63 + column_length: 26 + type: 12 + flags: 4225 + decimals: 6 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 34 + - 0 + rows: + - header: + payload_length: 55 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.060936" + unsigned: false + - header: + payload_length: 47 + sequence_id: 8 + values: + - type: 8 + name: id + value: "2" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.191947" + unsigned: false + - header: + payload_length: 48 + sequence_id: 9 + values: + - type: 8 + name: id + value: "3" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.227903" + unsigned: false + - header: + payload_length: 65 + sequence_id: 10 + values: + - type: 8 + name: id + value: "4" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0002_logentry_remove_auto_add + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.231588" + unsigned: false + - header: + payload_length: 73 + sequence_id: 11 + values: + - type: 8 + name: id + value: "5" + unsigned: false + - type: 253 + name: app + value: admin + unsigned: false + - type: 253 + name: name + value: 0003_logentry_add_action_flag_choices + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.235107" + unsigned: false + - header: + payload_length: 72 + sequence_id: 12 + values: + - type: 8 + name: id + value: "6" + unsigned: false + - type: 253 + name: app + value: contenttypes + unsigned: false + - type: 253 + name: name + value: 0002_remove_content_type_name + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.263353" + unsigned: false + - header: + payload_length: 72 + sequence_id: 13 + values: + - type: 8 + name: id + value: "7" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0002_alter_permission_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.281154" + unsigned: false + - header: + payload_length: 67 + sequence_id: 14 + values: + - type: 8 + name: id + value: "8" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0003_alter_user_email_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.292015" + unsigned: false + - header: + payload_length: 64 + sequence_id: 15 + values: + - type: 8 + name: id + value: "9" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0004_alter_user_username_opts + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.295622" + unsigned: false + - header: + payload_length: 67 + sequence_id: 16 + values: + - type: 8 + name: id + value: "10" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0005_alter_user_last_login_null + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.311170" + unsigned: false + - header: + payload_length: 66 + sequence_id: 17 + values: + - type: 8 + name: id + value: "11" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0006_require_contenttypes_0002 + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.312336" + unsigned: false + - header: + payload_length: 76 + sequence_id: 18 + values: + - type: 8 + name: id + value: "12" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0007_alter_validators_add_error_messages + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.315849" + unsigned: false + - header: + payload_length: 71 + sequence_id: 19 + values: + - type: 8 + name: id + value: "13" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0008_alter_user_username_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.333418" + unsigned: false + - header: + payload_length: 72 + sequence_id: 20 + values: + - type: 8 + name: id + value: "14" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0009_alter_user_last_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.365192" + unsigned: false + - header: + payload_length: 68 + sequence_id: 21 + values: + - type: 8 + name: id + value: "15" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0010_alter_group_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.373883" + unsigned: false + - header: + payload_length: 65 + sequence_id: 22 + values: + - type: 8 + name: id + value: "16" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0011_update_proxy_permissions + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.377728" + unsigned: false + - header: + payload_length: 73 + sequence_id: 23 + values: + - type: 8 + name: id + value: "17" + unsigned: false + - type: 253 + name: app + value: auth + unsigned: false + - type: 253 + name: name + value: 0012_alter_user_first_name_max_length + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.396530" + unsigned: false + - header: + payload_length: 52 + sequence_id: 24 + values: + - type: 8 + name: id + value: "18" + unsigned: false + - type: 253 + name: app + value: employee + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.402803" + unsigned: false + - header: + payload_length: 52 + sequence_id: 25 + values: + - type: 8 + name: id + value: "19" + unsigned: false + - type: 253 + name: app + value: sessions + unsigned: false + - type: 253 + name: name + value: 0001_initial + unsigned: false + - type: 12 + name: applied + value: "2025-08-11 08:53:36.414307" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 26 + - 254 + - 0 + - 0 + - 34 + - 0 + type: EOF + created: 1754902540 + reqtimestampmock: 2025-08-11T08:55:40.120628166Z + restimestampmock: 2025-08-11T08:55:40.122101446Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-57 +spec: + metadata: + connID: "8" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 206 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [215, 133, 47, 212, 7, 236, 148, 104, 254, 75, 89, 160, 44, 79, 207, 104, 92, 117, 189, 172, 252, 197, 214, 220, 75, 109, 21, 244, 208, 249, 223, 57] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "10" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 17 + auth_plugin_data: [56, 24, 121, 106, 123, 69, 61, 95, 16, 89, 19, 76, 121, 113, 93, 120, 39, 103, 125, 37, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.581222108Z + restimestampmock: 2025-08-11T08:55:53.581611927Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-58 +spec: + metadata: + connID: "8" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.581764338Z + restimestampmock: 2025-08-11T08:55:53.582030912Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-59 +spec: + metadata: + connID: "8" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.582138116Z + restimestampmock: 2025-08-11T08:55:53.582295235Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-60 +spec: + metadata: + connID: "8" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.582398398Z + restimestampmock: 2025-08-11T08:55:53.582609307Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-61 +spec: + metadata: + connID: "8" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.58276851Z + restimestampmock: 2025-08-11T08:55:53.583504108Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-62 +spec: + metadata: + connID: "8" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.58368256Z + restimestampmock: 2025-08-11T08:55:53.583846304Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-63 +spec: + metadata: + connID: "8" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 110 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: INSERT INTO `employee_employee` (`name`, `years_of_experience`, `company`) VALUES ('John Doe', 5, 'TechCorp') + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 1 + last_insert_id: 1 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902553 + reqtimestampmock: 2025-08-11T08:55:53.584082212Z + restimestampmock: 2025-08-11T08:55:53.588843622Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-64 +spec: + metadata: + connID: "10" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 206 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [187, 155, 215, 224, 235, 103, 38, 251, 127, 68, 8, 234, 219, 105, 252, 230, 113, 49, 12, 199, 100, 127, 194, 223, 167, 27, 126, 79, 204, 61, 117, 187] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "10" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 18 + auth_plugin_data: [44, 22, 92, 95, 119, 62, 87, 77, 19, 16, 94, 45, 127, 64, 34, 106, 8, 90, 104, 106, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.951224394Z + restimestampmock: 2025-08-11T08:56:05.951848079Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-65 +spec: + metadata: + connID: "10" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.95245239Z + restimestampmock: 2025-08-11T08:56:05.952721963Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-66 +spec: + metadata: + connID: "10" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.952849Z + restimestampmock: 2025-08-11T08:56:05.952987829Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-67 +spec: + metadata: + connID: "10" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.953203779Z + restimestampmock: 2025-08-11T08:56:05.953384856Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-68 +spec: + metadata: + connID: "10" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.953614222Z + restimestampmock: 2025-08-11T08:56:05.954259282Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-69 +spec: + metadata: + connID: "10" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.954453566Z + restimestampmock: 2025-08-11T08:56:05.954665184Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-70 +spec: + metadata: + connID: "10" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 159 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `employee_employee`.`id`, `employee_employee`.`name`, `employee_employee`.`years_of_experience`, `employee_employee`.`company` FROM `employee_employee` + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 3 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 103 + sequence_id: 4 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: years_of_experience + org_name: years_of_experience + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: company + org_name: company + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 34 + - 0 + rows: + - header: + payload_length: 22 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: name + value: John Doe + unsigned: false + - type: 3 + name: years_of_experience + value: "5" + unsigned: false + - type: 253 + name: company + value: TechCorp + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 34 + - 0 + type: EOF + created: 1754902565 + reqtimestampmock: 2025-08-11T08:56:05.954800387Z + restimestampmock: 2025-08-11T08:56:05.955502028Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-71 +spec: + metadata: + connID: "12" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 206 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [114, 33, 85, 186, 196, 0, 53, 235, 68, 171, 173, 100, 123, 243, 163, 223, 226, 250, 80, 174, 33, 118, 191, 115, 117, 139, 234, 179, 224, 249, 25, 2] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "10" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 19 + auth_plugin_data: [35, 14, 102, 40, 41, 64, 23, 18, 120, 105, 69, 77, 19, 38, 67, 67, 114, 76, 56, 27, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.494658342Z + restimestampmock: 2025-08-11T08:56:14.495318859Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-72 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.495582141Z + restimestampmock: 2025-08-11T08:56:14.495989626Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-73 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.496205618Z + restimestampmock: 2025-08-11T08:56:14.496505607Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-74 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.496775972Z + restimestampmock: 2025-08-11T08:56:14.497059628Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-75 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.49735195Z + restimestampmock: 2025-08-11T08:56:14.498231584Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-76 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.498515407Z + restimestampmock: 2025-08-11T08:56:14.498733899Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-77 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 203 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `employee_employee`.`id`, `employee_employee`.`name`, `employee_employee`.`years_of_experience`, `employee_employee`.`company` FROM `employee_employee` WHERE `employee_employee`.`id` = 1 LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 3 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 103 + sequence_id: 4 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: years_of_experience + org_name: years_of_experience + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: company + org_name: company + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 22 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: name + value: John Doe + unsigned: false + - type: 3 + name: years_of_experience + value: "5" + unsigned: false + - type: 253 + name: company + value: TechCorp + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.499051887Z + restimestampmock: 2025-08-11T08:56:14.50019022Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-78 +spec: + metadata: + connID: "12" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 137 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: UPDATE `employee_employee` SET `name` = 'Jane Doe', `years_of_experience` = 6, `company` = 'TechCorp' WHERE `employee_employee`.`id` = 1 + responses: + - header: + header: + payload_length: 48 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 1 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: '(Rows matched: 1 Changed: 1 Warnings: 0' + created: 1754902574 + reqtimestampmock: 2025-08-11T08:56:14.502071651Z + restimestampmock: 2025-08-11T08:56:14.504744468Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-79 +spec: + metadata: + connID: "14" + requestOperation: HandshakeV10 + responseOperation: OK + type: config + requests: + - header: + header: + payload_length: 206 + sequence_id: 1 + packet_type: HandshakeResponse41 + message: + capability_flags: 12558991 + max_packet_size: 1073741824 + character_set: 33 + filler: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] + username: admin + auth_response: [94, 13, 42, 119, 46, 246, 96, 160, 145, 5, 111, 252, 72, 170, 223, 39, 110, 5, 106, 45, 16, 128, 104, 210, 50, 118, 44, 20, 146, 170, 111, 63] + database: keploy_db + auth_plugin_name: caching_sha2_password + connection_attributes: + _client_name: libmariadb + _client_version: 3.3.14 + _os: Linux + _pid: "10" + _platform: aarch64 + _server_host: mySQL + zstdcompressionlevel: 0 + responses: + - header: + header: + payload_length: 73 + sequence_id: 0 + packet_type: HandshakeV10 + message: + protocol_version: 10 + server_version: 9.4.0 + connection_id: 20 + auth_plugin_data: [2, 38, 54, 32, 85, 84, 69, 110, 80, 84, 116, 122, 46, 89, 24, 92, 45, 87, 84, 126, 0] + filler: 0 + capability_flags: 3758096383 + character_set: 255 + status_flags: 2 + auth_plugin_name: caching_sha2_password + - header: + header: + payload_length: 2 + sequence_id: 2 + packet_type: AuthMoreData + message: + status_tag: 1 + data: FastAuthSuccess + - header: + header: + payload_length: 21 + sequence_id: 3 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\f\x01\n\tkeploy_db" + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.386244659Z + restimestampmock: 2025-08-11T08:57:16.38687351Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-80 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 18 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET NAMES utf8mb3 + responses: + - header: + header: + payload_length: 107 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 1 + info: "\0b\0\x1D\x14character_set_client\autf8mb3\0!\x18character_set_connection\autf8mb3\0\x1E\x15character_set_results\autf8mb3" + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.387183248Z + restimestampmock: 2025-08-11T08:57:16.387632398Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-81 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=0 + responses: + - header: + header: + payload_length: 26 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16384 + warnings: 0 + info: "\0\x11\0\x0F\nautocommit\x03OFF" + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.387891429Z + restimestampmock: 2025-08-11T08:57:16.388206334Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-82 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 17 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET autocommit=1 + responses: + - header: + header: + payload_length: 25 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 16386 + warnings: 0 + info: "\0\x10\0\x0E\nautocommit\x02ON" + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.388446867Z + restimestampmock: 2025-08-11T08:57:16.388781896Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-83 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 307 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: "\n SELECT VERSION(),\n @@sql_mode,\n @@default_storage_engine,\n @@sql_auto_is_null,\n @@lower_case_table_names,\n CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL\n " + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 6 + columns: + - header: + payload_length: 31 + sequence_id: 2 + catalog: def + schema: "" + table: "" + org_table: "" + name: VERSION() + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 15 + type: 253 + flags: 1 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 32 + sequence_id: 3 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_mode' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 4 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@default_storage_engine' + org_name: "" + fixed_length: 12 + character_set: 33 + column_length: 65535 + type: 253 + flags: 0 + decimals: 31 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 40 + sequence_id: 5 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@sql_auto_is_null' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 128 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 46 + sequence_id: 6 + catalog: def + schema: "" + table: "" + org_table: "" + name: '@@lower_case_table_names' + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 21 + type: 8 + flags: 160 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 81 + sequence_id: 7 + catalog: def + schema: "" + table: "" + org_table: "" + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + org_name: "" + fixed_length: 12 + character_set: 63 + column_length: 1 + type: 8 + flags: 129 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 137 + sequence_id: 9 + values: + - type: 253 + name: VERSION() + value: 9.4.0 + unsigned: false + - type: 253 + name: '@@sql_mode' + value: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION + unsigned: false + - type: 253 + name: '@@default_storage_engine' + value: InnoDB + unsigned: false + - type: 8 + name: '@@sql_auto_is_null' + value: "0" + unsigned: false + - type: 8 + name: '@@lower_case_table_names' + value: "0" + unsigned: false + - type: 8 + name: CONVERT_TZ('2001-01-01 01:00:00', 'UTC', 'UTC') IS NOT NULL + value: "1" + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 10 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.389124966Z + restimestampmock: 2025-08-11T08:57:16.391662286Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-84 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 55 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 0 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.392895073Z + restimestampmock: 2025-08-11T08:57:16.393213852Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-85 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: TextResultSet + type: mocks + requests: + - header: + header: + payload_length: 203 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: SELECT `employee_employee`.`id`, `employee_employee`.`name`, `employee_employee`.`years_of_experience`, `employee_employee`.`company` FROM `employee_employee` WHERE `employee_employee`.`id` = 1 LIMIT 21 + responses: + - header: + header: + payload_length: 1 + sequence_id: 1 + packet_type: TextResultSet + message: + columnCount: 4 + columns: + - header: + payload_length: 69 + sequence_id: 2 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: id + org_name: id + fixed_length: 12 + character_set: 63 + column_length: 20 + type: 8 + flags: 16899 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 73 + sequence_id: 3 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: name + org_name: name + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 103 + sequence_id: 4 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: years_of_experience + org_name: years_of_experience + fixed_length: 12 + character_set: 63 + column_length: 11 + type: 3 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + - header: + payload_length: 79 + sequence_id: 5 + catalog: def + schema: keploy_db + table: employee_employee + org_table: employee_employee + name: company + org_name: company + fixed_length: 12 + character_set: 33 + column_length: 300 + type: 253 + flags: 4097 + decimals: 0 + filler: + - 0 + - 0 + defaultValue: "" + eofAfterColumns: + - 5 + - 0 + - 0 + - 6 + - 254 + - 0 + - 0 + - 2 + - 0 + rows: + - header: + payload_length: 22 + sequence_id: 7 + values: + - type: 8 + name: id + value: "1" + unsigned: false + - type: 253 + name: name + value: Jane Doe + unsigned: false + - type: 3 + name: years_of_experience + value: "6" + unsigned: false + - type: 253 + name: company + value: TechCorp + unsigned: false + FinalResponse: + data: + - 5 + - 0 + - 0 + - 8 + - 254 + - 0 + - 0 + - 2 + - 0 + type: EOF + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.393516966Z + restimestampmock: 2025-08-11T08:57:16.394722503Z +--- +version: api.keploy.io/v1beta1 +kind: MySQL +name: mock-86 +spec: + metadata: + connID: "14" + requestOperation: COM_QUERY + responseOperation: OK + type: mocks + requests: + - header: + header: + payload_length: 70 + sequence_id: 0 + packet_type: COM_QUERY + message: + command: 3 + query: DELETE FROM `employee_employee` WHERE `employee_employee`.`id` IN (1) + responses: + - header: + header: + payload_length: 7 + sequence_id: 1 + packet_type: OK + message: + header: 0 + affected_rows: 1 + last_insert_id: 0 + status_flags: 2 + warnings: 0 + info: "" + created: 1754902636 + reqtimestampmock: 2025-08-11T08:57:16.395618177Z + restimestampmock: 2025-08-11T08:57:16.397778887Z diff --git a/django-mysql/keploy/test-set-0/tests/test-1.yaml b/django-mysql/keploy/test-set-0/tests/test-1.yaml new file mode 100755 index 0000000..52dcf59 --- /dev/null +++ b/django-mysql/keploy/test-set-0/tests/test-1.yaml @@ -0,0 +1,50 @@ +# Generated by Keploy (2.6.22) +version: api.keploy.io/v1beta1 +kind: Http +name: test-1 +spec: + metadata: {} + req: + method: POST + proto_major: 1 + proto_minor: 1 + url: http://localhost:8000/api/employee/create/ + header: + Accept: '*/*' + Content-Length: "98" + Content-Type: application/json + Host: localhost:8000 + User-Agent: curl/7.88.1 + body: '{"name": "John Doe", "years_of_experience": 5, "field": "Computer Science", "company": "TechCorp"}' + timestamp: 2025-08-11T08:55:53.575817804Z + resp: + status_code: 201 + header: + Allow: OPTIONS, POST + Content-Length: "71" + Content-Type: application/json + Cross-Origin-Opener-Policy: same-origin + Date: Mon, 11 Aug 2025 08:55:53 GMT + Referrer-Policy: same-origin + Server: WSGIServer/0.2 CPython/3.9.23 + Vary: Accept, Cookie + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + body: '{"id":1,"name":"John Doe","years_of_experience":5,"company":"TechCorp"}' + status_message: Created + proto_major: 0 + proto_minor: 0 + timestamp: 2025-08-11T08:55:55.616678299Z + objects: [] + assertions: + noise: + header.Date: [] + created: 1754902555 +curl: |- + curl --request POST \ + --url http://localhost:8000/api/employee/create/ \ + --header 'Accept: */*' \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8000' \ + --header 'User-Agent: curl/7.88.1' \ + --data "{\"name\": \"John Doe\", \"years_of_experience\": 5, \"field\": \"Computer Science\", \"company\": \"TechCorp\"}" diff --git a/django-mysql/keploy/test-set-0/tests/test-2.yaml b/django-mysql/keploy/test-set-0/tests/test-2.yaml new file mode 100755 index 0000000..92a75bc --- /dev/null +++ b/django-mysql/keploy/test-set-0/tests/test-2.yaml @@ -0,0 +1,46 @@ +# Generated by Keploy (2.6.22) +version: api.keploy.io/v1beta1 +kind: Http +name: test-2 +spec: + metadata: {} + req: + method: GET + proto_major: 1 + proto_minor: 1 + url: http://localhost:8000/api/employee/ + header: + Accept: '*/*' + Host: localhost:8000 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2025-08-11T08:56:05.948813565Z + resp: + status_code: 200 + header: + Allow: OPTIONS, GET + Content-Length: "73" + Content-Type: application/json + Cross-Origin-Opener-Policy: same-origin + Date: Mon, 11 Aug 2025 08:56:05 GMT + Referrer-Policy: same-origin + Server: WSGIServer/0.2 CPython/3.9.23 + Vary: Accept, Cookie + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + body: '[{"id":1,"name":"John Doe","years_of_experience":5,"company":"TechCorp"}]' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2025-08-11T08:56:08.05176935Z + objects: [] + assertions: + noise: + header.Date: [] + created: 1754902568 +curl: | + curl --request GET \ + --url http://localhost:8000/api/employee/ \ + --header 'Host: localhost:8000' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ diff --git a/django-mysql/keploy/test-set-0/tests/test-3.yaml b/django-mysql/keploy/test-set-0/tests/test-3.yaml new file mode 100755 index 0000000..67fedce --- /dev/null +++ b/django-mysql/keploy/test-set-0/tests/test-3.yaml @@ -0,0 +1,50 @@ +# Generated by Keploy (2.6.22) +version: api.keploy.io/v1beta1 +kind: Http +name: test-3 +spec: + metadata: {} + req: + method: PUT + proto_major: 1 + proto_minor: 1 + url: http://localhost:8000/api/employee/update/1/ + header: + Accept: '*/*' + Content-Length: "94" + Content-Type: application/json + Host: localhost:8000 + User-Agent: curl/7.88.1 + body: '{"name": "Jane Doe", "years_of_experience": 6, "field": "Data Science", "company": "TechCorp"}' + timestamp: 2025-08-11T08:56:14.491095557Z + resp: + status_code: 200 + header: + Allow: OPTIONS, PUT + Content-Length: "71" + Content-Type: application/json + Cross-Origin-Opener-Policy: same-origin + Date: Mon, 11 Aug 2025 08:56:14 GMT + Referrer-Policy: same-origin + Server: WSGIServer/0.2 CPython/3.9.23 + Vary: Accept, Cookie + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + body: '{"id":1,"name":"Jane Doe","years_of_experience":6,"company":"TechCorp"}' + status_message: OK + proto_major: 0 + proto_minor: 0 + timestamp: 2025-08-11T08:56:16.60356605Z + objects: [] + assertions: + noise: + header.Date: [] + created: 1754902576 +curl: |- + curl --request PUT \ + --url http://localhost:8000/api/employee/update/1/ \ + --header 'Content-Type: application/json' \ + --header 'Host: localhost:8000' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ + --data "{\"name\": \"Jane Doe\", \"years_of_experience\": 6, \"field\": \"Data Science\", \"company\": \"TechCorp\"}" diff --git a/django-mysql/keploy/test-set-0/tests/test-4.yaml b/django-mysql/keploy/test-set-0/tests/test-4.yaml new file mode 100755 index 0000000..3fe5d65 --- /dev/null +++ b/django-mysql/keploy/test-set-0/tests/test-4.yaml @@ -0,0 +1,55 @@ +# Generated by Keploy (2.6.22) +version: api.keploy.io/v1beta1 +kind: Http +name: test-4 +spec: + metadata: {} + req: + method: DELETE + proto_major: 1 + proto_minor: 1 + url: http://127.0.0.1:8000/movies + header: + Accept: application/json + Content-Type: application/json; charset=utf-8 + Host: 127.0.0.1:8000 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2025-08-11T08:56:29.794241469Z + resp: + status_code: 404 + header: + Content-Length: "179" + Content-Type: text/html; charset=utf-8 + Cross-Origin-Opener-Policy: same-origin + Date: Mon, 11 Aug 2025 08:56:29 GMT + Referrer-Policy: same-origin + Server: WSGIServer/0.2 CPython/3.9.23 + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + body: | + + + + Not Found + + +

Not Found

The requested resource was not found on this server.

+ + + status_message: Not Found + proto_major: 0 + proto_minor: 0 + timestamp: 2025-08-11T08:56:31.82741196Z + objects: [] + assertions: + noise: + header.Date: [] + created: 1754902591 +curl: | + curl --request DELETE \ + --url http://127.0.0.1:8000/movies \ + --header 'Content-Type: application/json; charset=utf-8' \ + --header 'Host: 127.0.0.1:8000' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: application/json' \ diff --git a/django-mysql/keploy/test-set-0/tests/test-5.yaml b/django-mysql/keploy/test-set-0/tests/test-5.yaml new file mode 100755 index 0000000..0e69acc --- /dev/null +++ b/django-mysql/keploy/test-set-0/tests/test-5.yaml @@ -0,0 +1,45 @@ +# Generated by Keploy (2.6.22) +version: api.keploy.io/v1beta1 +kind: Http +name: test-5 +spec: + metadata: {} + req: + method: DELETE + proto_major: 1 + proto_minor: 1 + url: http://localhost:8000/api/employee/delete/1/ + header: + Accept: '*/*' + Host: localhost:8000 + User-Agent: curl/7.88.1 + body: "" + timestamp: 2025-08-11T08:57:16.382560882Z + resp: + status_code: 204 + header: + Allow: OPTIONS, DELETE + Content-Length: "0" + Cross-Origin-Opener-Policy: same-origin + Date: Mon, 11 Aug 2025 08:57:16 GMT + Referrer-Policy: same-origin + Server: WSGIServer/0.2 CPython/3.9.23 + Vary: Accept, Cookie + X-Content-Type-Options: nosniff + X-Frame-Options: DENY + body: "" + status_message: No Content + proto_major: 0 + proto_minor: 0 + timestamp: 2025-08-11T08:57:18.480947365Z + objects: [] + assertions: + noise: + header.Date: [] + created: 1754902638 +curl: | + curl --request DELETE \ + --url http://localhost:8000/api/employee/delete/1/ \ + --header 'Host: localhost:8000' \ + --header 'User-Agent: curl/7.88.1' \ + --header 'Accept: */*' \ diff --git a/django-mysql/manage.py b/django-mysql/manage.py new file mode 100755 index 0000000..2c49f3a --- /dev/null +++ b/django-mysql/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +"""Django's command-line utility for administrative tasks.""" +import os +import sys + + +def main(): + """Run administrative tasks.""" + os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') + try: + from django.core.management import execute_from_command_line + except ImportError as exc: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) from exc + execute_from_command_line(sys.argv) + + +if __name__ == '__main__': + main() diff --git a/django-mysql/project/__init__.py b/django-mysql/project/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/django-mysql/project/asgi.py b/django-mysql/project/asgi.py new file mode 100644 index 0000000..e80d89f --- /dev/null +++ b/django-mysql/project/asgi.py @@ -0,0 +1,16 @@ +""" +ASGI config for project project. + +It exposes the ASGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/ +""" + +import os + +from django.core.asgi import get_asgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings') + +application = get_asgi_application() diff --git a/django-mysql/project/settings.py b/django-mysql/project/settings.py new file mode 100644 index 0000000..8730b3e --- /dev/null +++ b/django-mysql/project/settings.py @@ -0,0 +1,127 @@ +""" +Django settings for project project. + +Generated by 'django-admin startproject' using Django 4.2. + +For more information on this file, see +https://docs.djangoproject.com/en/4.2/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/4.2/ref/settings/ +""" + +from pathlib import Path + +# Build paths inside the project like this: BASE_DIR / 'subdir'. +BASE_DIR = Path(__file__).resolve().parent.parent + + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'django-insecure-c-wtuu#h_4hfh97&!6sx+yr*l)m1lfey_d-q5j^rw9m%mi8%2!' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = False + +ALLOWED_HOSTS = ["*","localhost"] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', + 'employee', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'project.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/4.2/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.mysql', + 'NAME': 'keploy_db', + 'USER': 'admin', + 'PASSWORD': 'keploy', + 'HOST': 'mySQL', + 'PORT': '3306', + } +} + +# Password validation +# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/4.2/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/4.2/howto/static-files/ + +STATIC_URL = 'static/' + +# Default primary key field type +# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field + +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' diff --git a/django-mysql/project/urls.py b/django-mysql/project/urls.py new file mode 100644 index 0000000..54eed7f --- /dev/null +++ b/django-mysql/project/urls.py @@ -0,0 +1,24 @@ +""" +URL configuration for project project. + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/4.2/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: path('', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.urls import include, path + 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) +""" +from django.contrib import admin +from django.urls import path, include + + +urlpatterns = [ + path('admin/', admin.site.urls), + path('api/', include('employee.urls')) +] diff --git a/django-mysql/project/wsgi.py b/django-mysql/project/wsgi.py new file mode 100644 index 0000000..6f61a78 --- /dev/null +++ b/django-mysql/project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for project project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/4.2/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') + +application = get_wsgi_application() diff --git a/django-mysql/requirements.txt b/django-mysql/requirements.txt new file mode 100644 index 0000000..4700cec --- /dev/null +++ b/django-mysql/requirements.txt @@ -0,0 +1,6 @@ +Django==4.2.7 +djangorestframework==3.14.0 +mysqlclient==2.2.0 +python-dotenv==1.0.0 +django-cors-headers==4.3.1 +coverage