HarwareSerial.h

#include<NewSoftSerial.h>
NewSoftSerial mySerial(2,3);

char c;

void setup()
{
Serial.begin(9600);
mySerial.begin(9600);
}

void loop()
{
Serial.Print("Key1");
delay(1000);
if (mySerial.available() > 0)
{
c=mySerial.Read();
}
}

This is the code i compiled. But couldn't receive data "key1" to the variable c.
Could you check the output in your hardware, once shorting the pins i mentioned?