This question already has an answer here:
Recently I've been contacted by many recruiters about job openings. As of right now I am not actively looking for a new job (I'm happy with my current one) but I am interested in what other opportunities there are and I feel it's good to keep interviewing so I don't lose the practice (especially for technical interviews).
I also feel it's in my personal best interest to interview at other companies every now and then to see not only what opportunities are out there but also reflect on where I am at and how I am growing in my own company (if I find myself not being able to answer questions for roles I may be interested in, I would find that somewhat alarming and a wake up call for myself).
Overall, how is this viewed by peers and by recruiters? Is it best to be open and honest about that? Is it better to wait until I feel I am actively looking to leave my own company? I know some people may say, "If you want interview experience, you can talk to your manager and shadow people in interviews in your own company" but it really isn't the same as being the interviewee. It also does not give me insight as to what other companies may be asking or expecting in the line of work or career I hope to move towards.