Seamless Installation of TraceTest with Helm Charts: A Step-by-Step Guide
Install the Tracetest server using Helm
You can set it up locally with this command:
helm repo add kubeshop https://kubeshop.github.io/helm-charts
helm repo update
Next, install Tracetest using this command:
helm install tracetest kubeshop/tracetest --namespace=tracetest --create-namespace
This will create deployments under the tracetest namespace and output expected from the Tracetest is shown like below :
export POD_NAME=$(kubectl get pods --namespace tracetest -l "app.kubernetes.io/name=tracetest,app.kubernetes.io/instance=tracetest" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace tracetest $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace tracetest port-forward $POD_NAME 8080:$CONTAINER_PORT
- Run the below command to port forward the Trace test and connect through the Tracetest UI
kubectl --kubeconfig .kube/config --context minikube --namespace tracetest port-forward svc/tracetest 11633
Open your browser to http://localhost:11633.
You are now ready to create tests using the Tracetest UI.
๐ Here is the UI of Tracetest ![alt text]
Conclusion :-
Tracetest transforms testing by utilizing OpenTelemetry traces. It allows for trace-driven testing with assertions at each stage of a request, accommodating various transaction triggers and providing flexibility with trace back-ends. Tracetest verifies both response and process accuracy, making it a valuable resource for end-to-end and integration testing in distributed systems.