mysqlslap: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/mysqlslap - from package: mysql55w
/usr/bin/mysqlslap - from package: mysql

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mysqlslap - from package: mariadb-client-10.0
/usr/bin/mysqlslap - from package: mysql-client-5.5

You may install the required package with command apt-get install {package}
Error in other languages:
mysqlslap: bevel nie gevind nie
mysqlslap: comandă negăsită
mysqlslap: comando não encontrado
mysqlslap: commande introuvable
mysqlslap: command not found
mysqlslap: käsku ei ole
mysqlslap: không tìm thấy lệnh
mysqlslap: komanda nerasta
mysqlslap: Kommando nicht gefunden.
mysqlslap: kommandot finns inte
mysqlslap: komut yok
mysqlslap: nie znaleziono polecenia
mysqlslap: níor aimsíodh an t-ordú
mysqlslap: no se encontró la orden
mysqlslap: no s'ha trobat l'ordre
mysqlslap: opdracht niet gevonden
mysqlslap: parancs nem található
mysqlslap: perintah tidak ditemukan
mysqlslap: príkaz nenájdený
mysqlslap: příkaz nenalezen
mysqlslap: команда не найдена
mysqlslap: командата не е открита
mysqlslap: 命令找不到
mysqlslap: コマンドが見つかりません