question

ugobale avatar image
ugobale asked ericnute edited

problem running one command long more than 1980 chrs via telnet

I use Itest 4.2 version and i have one Cli command long more than 1980 chrs which fails when I tried to run it from iTest calling one procedure with input parameters (arguments). The same command run ok from iTest in case I leave it cabled without call any procedure. Anybody faced a similar problem? here you are error cli console : CreateWDMTrailResult = Error : Cannot get the Connection Data by ConnectionName COMPLETED ni253074,root,root # egrep CreateWDMTrail /usr/Systems/Global_Instance_11_Master/maintenance/trace/* |grep -i cli /usr/Systems/Global_Instance_11_Master/maintenance/trace/cli.trace.3:2013-11-22 15:53:31,413 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.client.socketClient.CLIServerSocketReqestHandler sendResponse(String response=CreateWDMTrailResult = ) - Enter /usr/Systems/Global_Instance_11_Master/maintenance/trace/cli.trace.3:2013-11-22 15:53:31,413 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.client.socketClient.OmsGenericServerSocketHandler sendResponse(String respMessage=CreateWDMTrailResult = ) - Enter /usr/Systems/Global_Instance_11_Master/maintenance/trace/cli.trace.3:2013-11-22 15:53:31,413 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.client.socketClient.Common writeDataToSocket(SocketChannel channel=java.nio.channels.SocketChannel[connected local=/151.98.253.74:6789 remote=151.98.70.85/151.98.70.85:64115], String message=CreateWDMTrailResult = , Charset charset=UTF-8, List bufferedWriteData=[]) - Enter .... in view nel fle cli.trace.3 : ... 2013-11-22 15:53:31,716 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerIdFromServerName(String) - end 2013-11-22 15:53:31,716 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl startResponseThread(reqId: 51,timeout: 900) - start 2013-11-22 15:53:31,716 INFO:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl Setting the time out: 1800 to CLITimeout: 1800 2013-11-22 15:53:31,716 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getEventLevel() - start 2013-11-22 15:53:31,716 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getEventLevel() - end 2013-11-22 15:53:31,716 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getEventLevel() - end: 4 equals to: LEVEL_4 :<-->: Return code + English translation of the last message 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl ResponseThread(requestId: 51,timeout: 1800000) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl startResponseThread(reqId: 51,timeout: 1800) - end 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler serverRequest(int, int, int, String, BoolExpression, CommandType, ServerObject[], int, int, String, FieldRef[], int) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler getServerIdFromCmdName(String, int) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler getServerIdFromCmdName(commandName: Wdm_WIZ_WdmNtwConnProvWizMngTrail, reqId: 51) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerIdFromCommandName(String) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.confMngr.wrapperImpl.ConfManagerWrapper getCommandDescriptor(command: Wdm_WIZ_WdmNtwConnProvWizMngTrail) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.confMngr.wrapperImpl.ConfManagerWrapper getCommandDescriptor(command: Wdm_WIZ_WdmNtwConnProvWizMngTrail) - end 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerIdFromServerName(String) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerInformation(serverName: WDM) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerInformation(serverName: WDM) - end 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerIdFromServerName(String) - end 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.CCEngine.CCEngineImpl getServerIdFromCommandName(String) - end 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler getServerIdFromCmdName(String, int) - end: 7 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler The serverid for the commandName--> Wdm_WIZ_WdmNtwConnProvWizMngTrail is : 7 Processing Id is : 710251 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler createServerReqObj(int, int, int, String, BoolExpression, CommandType, ServerObject[], int, int, String, FieldRef[], int) - start 2013-11-22 15:53:31,717 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler createServerReqObj(int, int, int, String, BoolExpression, CommandType, ServerObject[], int, int, String, FieldRef[], int) - end ..... 2013-11-22 15:53:31,727 INFO:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler Recieved outputDisplayMessage [serverId=7, containerId=20, reqId=-1, completed=true, message=RendererGUIMessage [message=Echo, grouping=null, replyType=MT_SUCCESS, messageParamList=[]], displayType=MAIN_LOG] 2013-11-22 15:53:31,727 ERROR:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler IObjRegistrationImpl is null...com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler@766b6084 2013-11-22 15:53:31,727 DEBUG:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerReqRespHandler receiveResponse(String, int) - end 2013-11-22 15:53:31,727 DEBUG:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerConnection notifyComplete(Caller, Response, serverId: 7) - end 2013-11-22 15:53:31,727 INFO:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerConnection EventThread sendRecieve message 2013-11-22 15:53:31,727 DEBUG:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerConnection sendReqToServer(ServiceClient, message: EventManager,(102)) - start 2013-11-22 15:53:31,727 DEBUG:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerConnection sendReqToServer(ServiceClient, String) - -------------- ServerConnection [7] sending message: EventManager,(102) 2013-11-22 15:53:31,727 DEBUG:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerConnection createMessage(reqMsg: EventManager,(102)) - start 2013-11-22 15:53:31,727 DEBUG:[EventThread -704-7]:com.alu.oms1350.cli.ServerCommunication.ServerConnection createMessage(reqMsg: EventManager,(102)) - end 2013-11-22 15:53:31,729 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerConnection sendReqToServer(ServiceClient, String) - -------------- ServerConnection [7] received response: Received RegisterContainer 2013-11-22 15:53:31,729 DEBUG:[CmdMgrThread-691]:com.alu.oms1350.cli.ServerCommunication.ServerConnection sendReqToServer(ServiceClient, message) - End
iTesttelnetterminal
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mallikarjunarao avatar image mallikarjunarao commented ·
could you share error message?
0 Likes 0 ·
mabass avatar image
mabass answered mabass edited
We could face some problems when the response of a command is huge. I believe by adding a command (terminal length 0) before this step should resolve the issue. By adding this command iTest will display the complete response of the all the following commands without breaking the terminal. Hope it helps.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

udaya avatar image
udaya answered ugobale commented
Yes, you may see this issue because 1980 characters might be breaking on the terminal itself. Please increase the Terminal width in the session profile or tbml so that complete command could be on the terminal without break.
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ugobale avatar image ugobale commented ·
hi, in my telnet session profile terminal size is set to 10000 (change terminal width) with same as window size with the specified minimum checked, and change terminal height to 10 with same option checked, i have to change them ?
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.