CPM Web plugin only works in command line

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CPM Web plugin only works in command line

L1 Bithead

Hi everyone !

 

I'm writing a web plugin for one of our clients. I wrote it all, but I'm trying to make the "verify" part works first.

In that part, right after the login, I'm looking for a span element with a specific class, like "bad_login". If that part appears, the plugin fails with a message like "Invalid login".

 

When I try the plugin with the command line like this, it works.

PS C:\Program Files (x86)\CyberArk\Password Manager> bin\CANetPluginInvoker.exe test.ini verifypass CyberArk.Extensions.Plugin.WebApp.dll True The plugin ended successfully (RC = 0)

The problem is when I try the plugin in the PVWA, it fails, because it detects the span element with the class. I use the same username and password as in the ini file.

 

I don't understand what's going on here...

1 REPLY 1

L7 Applicator

Hi @Julien Chartrand​ 

 

Can you please try increasing timeout value ?

 

Also can you please enable the debug and share more information?

  • 196 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!