HI this is an interesting question and for a long time I wondered the same thing. How can you be sure that you can get salvation, or you are on your way towards it? The Bible was created to help each follower achieve salvation and focus on the character Jesus Christ as a reward. If you have tried your best to uphold Christian principles, then there would not be a problem for you.
At the Second Coming of Christ, during the judgment, your life must be accessed to overlook your record. Next God must consider if you are worthy to gain life without death, very important decision to make. If you are a long time Bible student, you have already encountered and found the answers to questions like: What does eternal life mean? Where will you live eternally? Can you change your mind if you don't like it? Many questions that people wonder about, can be found right there in your Bible because the Bible expresses the truth or accurate knowledge. So, the big question is: Do you know the truth that is already in the Bible?