Only about 3 years before I got fed up and left. I'll fully admit I didn't get that involved with materials testing; and perhaps the firm I was with was substandard in this regard; but I don't think so. When I looked into the falling glass in Toronto I learned that they only tested a very small number of fasteners. I don't recall the number, but it was trivial statistics to prove that for the number of glass panes going up in Toronto they didn't have a large enough "n".
The two examples I gave were two examples that I dealt with personally. I was extremely dismayed at the rigour the firm I was at used. To test the bent rebar I think we used a sample size of 6 and then tested to failure. For the railways example they just used the weight of the train. Then when I reviewed the designs and brought up that the train could apply the breaks and thereby increase the downward force they just multiplied everything by 2.
In my experience the low level staff was useless, with a couple people that knew what they were doing. The medium level staff had two groups of people, the people that still knew advanced math and the people that got good at AutoCAD, and the senior people, while good at sales or general guidance; had basically completely forgotten all but the most basic structural engineering principles. I've literally had to explain crushing vs bending moment to a 20 year structural engineer before. I've (accidentally) designed a structure that was already designed by a senior person that forgot to put it in the tracking system. I used one sixth the steel and mine could handle more load.
I will grant you, however, that I may have just been at a substandard firm. We had some large projects, but we weren't designing new skyscrapers or mega-structures.