java.io.FileNotFoundException in Jmeter even if file is in bin folder itself - csv

java.io.FileNotFoundException in Jmeter even if file is in bin folder itself
I have created a file in jmeter/bin Folder and then used it in Jmeter script without any path (only file name as it is already in bin folder)
Still I am getting error as java.io.FileNotFoundException

Filename path could be relative (to your .jmx file) or absolute (/home/username...).
Check your path for trailing spaces - jmeter doesnt know how to trim it.

Actually relative path in CSV Data Set Config (not in distributed test) is relative to test plan and not jmeter execution directory:
Filename Name of the file to be read. Relative file names are resolved with respect to the path of the active test plan.
You can also use absolute path or move your CSV file to same directory of your JMX files.

Related

Pylint nested pylintrc : Specify a configuration file

Goal
I want to use pylint without specifying the file path (just run pylint instead of pylint --rcfile=linter/.pylintrc), as I want to save all linter related files in a subfolder linter/.
I thought of adding a .pylintrc file at the root folder only a redirection to the actual config file linter/.pylintrc.
Exploration
The option rcfile seems to be what I look for, it doesn't seems to import the settings from the sub-folder. What am I missing ?
Proposed .pylintrc file for redirection:
[MASTER]
# Specify a configuration file.
rcfile=subfolder/.pylintrc
This is not supported in pylint see this pull request

SSIS File System Task - Move Directory

I am extremely confused.
I have a destination directory: \\Client\D$\Data Feed\Archive. I set this as my Destination Connection in File System Task Editor.
I have a source directory: \\Client\D$\Data Feed\Plan 24-01-2020. I set this as my Source Connection in File System Task Editor. It also contains one CSV file.
For the Operation in File System Task Editor I choose Move Directory as the Operation.
All setup just click run. When I execute I get the following error message: "Cannot create a file when that file already exists."
Curiously enough the CSV file inside the source folder is copied to the Archive folder.
I was expecting only that the folder Plan 24-01-2020 would be moved to the folder Archive.
What I'm I doing wrong?
Because according to this tutorial the folder should be moved without any issues: https://www.tutorialgateway.org/move-directory-using-file-system-task-in-ssis/
I think there are two things you'll want to do here.
First, create an expression in the File System Task that sets OverwriteDestinationFile to TRUE.
Next, you'll want to slightly modify your Destination path. Instead of just \\Client\D$\Data Feed\Archive\, you'll probably want to specify your destination as \\Client\D$\Data Feed\Archive\Plan 24-01-2020\. Otherwise, it will just copy the contents of \\Client\D$\Data Feed\Plan 24-01-2020\ into \\Client\D$\Data Feed\Archive\ without creating the Plan 24-01-2020 sub-folder.

Does the function 'load_file()' in MySQL must use path from the server?

This is the current only path I can use load_file() function in MySQL:
C:\ProgramData\MySQL\MySQL Server 8.0\Uploads
Can I not attach any other file from any other path?
Because I am able to attach BLOB file attachment only from the path mentioned above. But attaching a path from a \Desktop or else where.. shows values as null.
Can this be altered? If so, how?
https://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_load-file
Reads the file and returns the file contents as a string. To use this function, the file must be located on the server host, you must specify the full path name to the file, and you must have the FILE privilege. The file must be readable by all and its size less than max_allowed_packet bytes. If the secure_file_priv system variable is set to a nonempty directory name, the file to be loaded must be located in that directory.

How to read csv files with beaker notebook?

I use Beaker on Windows and start it up with gitbash with the following command:
./beaker.command.bat
If I want to read a .csv or excel file I have to place it in the same directory as the beaker.command.bat.
How can I just the .csv files directly from their original location where the .bkr notebook script and the files are located?
I figured it out, just use the full directory path instead pointing to the file.

How to seperate out ERROR FILE from Correct file using SSIS and archive them

I have a scenario where there are two source file ABC.txt and DEF.txt. i want to make sure that if any files are present in that folder with naming convention as ABC.txt, it has to be moved to the different folder prior to loading to the SQL server, and the other (incorrect file) should be moved to a error log folder (separate folder). Can someone advice what task would i use to do that. i tried it using File system task but it just allow you to move or copy files from one location to other prior to loading the file.can someone advice how to i copy that incorrect file to the different folder ( error log folder)?
try to use a bat file.
move ABC.txt /directory
and after
xcopy "source" "destination_err\" /exclude:%temp%\ABC.txt /y
or you can use robocopy command in bat file, this is the command with parameters http://itsvista.com/2007/03/robocopy/