Questions tagged [console-output]

103 questions
1
vote
2 answers

How to put and execute code into Keyword with JSR223?

I try to implement this : https://www.testautomationguru.com/jmeter-how-to-create-a-data-keyword-driven-framework-for-performance-testing/ I have a .csv file with the test case name in the first column. So I want to run a specfic test case according…
Royce
  • 1,557
  • 5
  • 19
  • 44
1
vote
2 answers

Properly indent Java/Kotlin console output

I am outputting a lot of information to the console that is gathered across multiple nested calls. I would like to be able to print the information on the screen in a readable manner but the I can't seem to get the indentation right, without…
1
vote
0 answers

Redirect console output to a custom LogBack appender

Today I have started using LogBack in combination with SLF4J for my project. I have been trying to redirect all console output (From my own project and others) to a custom appender. The final goal is to redirect all the output to a Discord chat…
Jordie
  • 134
  • 1
  • 2
  • 10
1
vote
0 answers

How we can get console output in jenkins job 'createhosts' log output instead of showing build number in jenkins build pipeline project?

I wrote a pipeline script and in console output i need createhosts log output also instead of showing build number. Script: pipeline { agent none stages { stage('create hosts') { steps { echo "Hello! ,…
1
vote
0 answers

JavaScript console input/output output trouble

Code output should be: 515 30 However, when I add variables a, b, c my output is 51530. I've added a + b just to test it, and the output was 515. I just can't figure out how to return the c so that it won't combine with the 515. function Init_sta()…
Hannah
  • 5
  • 1
  • 4
1
vote
2 answers

How to write console output into Excel file in Java

hi guys i m new in java. In my program, i can select text files and read them. I need to write these read files into excel file without using database. I wrote these codes. I inserted data using Object Array but i dont need to write one by one…
prbylnd
  • 13
  • 1
  • 4
1
vote
1 answer

Output bold text to console in C (on Mac - Xcode)

Lately I've been experimenting with coding basic programs in C using Xcode, and I've found myself looking for ways to italicize text or make it bold or coloured. Despite the numerous similar posts on SO, there hasn't been one to prove helpful to my…
Nik
  • 1,664
  • 2
  • 14
  • 27
1
vote
1 answer

Jenkins: save console output on executing slave server

I already searched a lot for any solution but I couldn't find anything... I try to save the console output of my current build [last build] on my slave server, which executes the build. I saw that the log file is stored on master server as well so I…
michi.b
  • 264
  • 1
  • 4
  • 14
1
vote
1 answer

Access to iOS device's console output

Is there an iOS app which allows to look at console output created by another iOS app? My app has several NSLog() calls which output precise timings. I would like to test the app, when it is not connected to my development Mac, and look at timings…
Voyteck
  • 354
  • 2
  • 13
1
vote
1 answer

How can EncoderFallbackExceptions caused by invalid utf16 surrogates be ignored when Console.Out.Encoding is UTF8?

I've observed, using Visual studio 2008 (with .NET 3.5), that the the value of Console.Out.Encoding changes based upon if running via a debugger and Console App/Windows App in the following way: GUI App - using…
Tom
  • 6,325
  • 4
  • 31
  • 55
1
vote
3 answers

How to print on the same line in a loop?

I am trying to print results on the same line for a card game, here is the desired output I want: Here is what I get: Here is my code: for List in tableau: print print ("Row", Row, ":", end="") print Row += 1 …
Goose
  • 2,130
  • 10
  • 32
  • 43
1
vote
1 answer

colorful console output by unix pipe filter

while examining the console output and logging messages of different software it is sometimes difficult to keep the overview. It would be much easier to make the output colorful and highlight the text phrases which are currently important. Is there…
Knut
  • 431
  • 4
  • 14
1
vote
0 answers

Redirecting stderr/stdout

I have a C# application in which I'm trying to redirect some text written on to stderror. The text which is written to stderror is actually written by calling a function that is present in some other dll. I have used CreatePipe, SetStdHandle and…
AarCee
  • 833
  • 2
  • 11
  • 24
0
votes
2 answers

Redirecting C++ console output to C#

I'm trying to get the output of the C++ console to the C# Windows Form application, the problem I'm having is the output of the C++ exe is displayed in the C# console only after the C++ exe is terminated. Is there anyway to get the exe output to C#…
Anshu
  • 275
  • 3
  • 20
0
votes
1 answer

I want to use dotnet restore command in "Execute Windows batch command" in my jenkins job but i am getting error

This is what i have put in "executr windows batch command" - "dotnet restore "C:\Users\nraut.SIPL.jenkins\workspace\WebNetAgentSln\WCFServiceGX.sln" dotnet build "C:\Users\nraut.SIPL.jenkins\workspace\WebNetAgentSln\WCFServiceGX.sln" /t:rebuild…