Service Virtualization

  • 1.  FTP Virtualization doesn't work

    Posted Jan 25, 2016 07:49 AM

    Hi all,

     

    I have virtualized a FTP connection but It display an issue when I execute the connection.

     

    | Exception:

    ============================================================================

    | Message:     Error executing FTP:  null

    ----------------------------------------------------------------------------

    ============================================================================

     

      at com.itko.lisa.ftp.FTPStepEditor.execute(FTPStepEditor.java:232)

      at com.itko.lisa.ftp.FTPStepEditor.access$000(FTPStepEditor.java:47)

      at com.itko.lisa.ftp.FTPStepEditor$1.actionPerformed(FTPStepEditor.java:102)

      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

      at java.awt.Component.processMouseEvent(Unknown Source)

      at javax.swing.JComponent.processMouseEvent(Unknown Source)

      at java.awt.Component.processEvent(Unknown Source)

      at java.awt.Container.processEvent(Unknown Source)

      at java.awt.Component.dispatchEventImpl(Unknown Source)

      at java.awt.Container.dispatchEventImpl(Unknown Source)

      at java.awt.Component.dispatchEvent(Unknown Source)

      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

      at java.awt.Container.dispatchEventImpl(Unknown Source)

      at java.awt.Window.dispatchEventImpl(Unknown Source)

      at java.awt.Component.dispatchEvent(Unknown Source)

      at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

      at java.awt.EventQueue.access$200(Unknown Source)

      at java.awt.EventQueue$3.run(Unknown Source)

      at java.awt.EventQueue$3.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

      at java.awt.EventQueue$4.run(Unknown Source)

      at java.awt.EventQueue$4.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

      at java.awt.EventQueue.dispatchEvent(Unknown Source)

      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

      at java.awt.EventDispatchThread.run(Unknown Source)

     

    I included the itkoext-ssh-utils lib in the hotDeploy and lib folder.

     

    Please, Could you help me?.

     

    Regards,



  • 2.  Re: FTP Virtualization doesn't work

    Posted Jan 25, 2016 07:35 PM

    How have you configured your FTP step?  Can you take a screenshot? Is there any additional information in the Workstation.log file?



  • 3.  Re: FTP Virtualization doesn't work

    Posted Jan 26, 2016 12:36 AM
      |   view attached

    Hello Josh,

     

    I was successfully able to execute the vsm that you provided by making changes in the VSI.

     

    However project has decided to pursue this activity in upcoming release and is on hold at the moment.

     

    But thanks a lot for the valueable information and quick responses.

     

     

    Regds,

    Hozefa



  • 4.  Re: FTP Virtualization doesn't work

    Posted Jan 26, 2016 08:12 AM

    Hi Josh,

     

     

    I executed the vsm that you provided, thanks for your help. I created a new project and now I can connect to the SFTP client.

     

    Now I am trying to copy a file from local folder to SFTP server and It display SCP issue.

     

     

    Regards,

     

    Rosa



  • 5.  Re: FTP Virtualization doesn't work

    Posted Jan 26, 2016 09:27 AM

    I can see you put a property called "filename" in the content section and left the remote filename blank.  Can you specify a filename for the file you want to put?  You can also try to put the logs in DEBUG mode and look at the Workstation logs for additional information.



  • 6.  Re: FTP Virtualization doesn't work

    Posted Jan 26, 2016 10:09 AM

    Hi Josh,

     

     

    I am investigating other solution because I don't have to write permission on the remote server.  In my integration I need simulate a SFTP connection, I have the request and response such as text file.

     

     

    Let me know if you have any idea.

     

     

    Thanks and Regards,

     

     

    Rosa