HM-10 AT command doesn't work

I also tried to following code:

#include <SoftwareSerial.h>

SoftwareSerial ble(2, 3); // RX, TX

void setup() {
  // Open serial port
  Serial.begin(9600);
  // begin bluetooth serial port communication
  ble.begin(9600);
}

// Now for the loop

void loop() {
  Serial.println("Sending Bluetooth Message...");
  ble.write("Testing...");
  delay(500);
  
}

so the Serial.println works and i receive "Sending Bluetooth Message..." when I open the serial monitor but than I get nothing so from these two codes I conclude that I have a problem at the stage of the -SoftwareSerial.
Am I wrong?

thank you!