Apickli framework- cucumber unit testing for apigee inplementing TLS

Not applicable

I have tried implementing TLS with Apickli cucumber script testing but it is not working , Can you explain me the correct way of implementing the TLS for Apigee .i have already used the format mentioned in github for this apickli integration with apigee using TLS.

https://github.com/apickli/apickli .

@dino @Dino. @Dino-at-Google

0 5 1,837
5 REPLIES 5

sidd-harth
Participant V

Hi Ankit, please mention what error you're facing & the steps you have followed.

+ @Ozan Seymen

Not applicable

i have provided the link i have followed the exact same step and i was giving the key and the cert file in it ...@Ozan Seymen @Siddharth Barahalikar

https://github.com/apickli/apickli .

Not applicable

Also no error is shown because api is not getting hit so cant even see the trace ... is there a way i can see the logs for this just to check what error is coming?

Hi there, I will just go ahead and give you a blanket response as there is no info specific to your case here.

Here is docs for mtls: https://github.com/apickli/apickli#client-authentication

Here are the tests for mtls:

+ https://github.com/apickli/apickli/blob/master/source/test/features/mutual-tls.feature

+ https://github.com/apickli/apickli/blob/master/source/test/features/support/init.js#L11

We do know that these tests are passing because we are integrated with travis.

Implementation is only 4 lines of code (we are just passing your certs/keys to request module) so check it out to improve your understanding and help troubleshooting: https://github.com/apickli/apickli/blob/master/source/apickli/apickli.js#L466

I ahve followed the exact same steps ...but during the script execution it is throwing invalid left hand side expression in prefix operation exception . How can i get rid of this

+@Ozan Seymen +@Dino-at-Google