More than two years after Homeland Security officials told Congress that they would produce new, more accurate standards to assess security at the nation’s borders, senior officials from the department acknowledged this week that they had not completed the new measurements and were not likely to in coming months, as the debate proceeds about overhauling the immigration system.

Both Democratic and Republican lawmakers were taken aback at a hearing on Wednesday in the House of Representatives when Mark Borkowski, a senior Homeland Security official, said he had no progress to report on a broad measure of border conditions the department had been working on since 2010. The lawmakers warned that failure by the Obama administration to devise a reliable method of border evaluation could imperil passage of immigration legislation.

“We do not want the Department of Homeland Security to be the stumbling block to comprehensive immigration reform for this country,” said Representative Candice Miller, a Republican from Michigan who is the chairwoman of the House Homeland Security subcommittee on border security. She told Mr. Borkowski that the lack of security measurements from the administration “could be a component of our failure to pass something I think is very important for our country.”

Representative Sheila Jackson Lee of Texas, a Democrat and strong a supporter of President Obama’s immigration proposals, was more blunt. “I would say to the department, you’ve got to get in the game,” she said.