Again, it depends on the strength of the magnetic field produced.
To deflect a bullet would take a lot.
Imagine a big scrap yard electro magnet. If you shot a bullet past that, it would deflect the bullet slightly. But, unless the bullet is traveling within a relatively close range to it (<1m) it won't have any effect.
I'd also note that unless the bullet is specially magnetised, it will attract it.
If you are thinking of standing a soldier next to a magnetic field, you would basically need a massive electromagnet as above and have them stood right by it. Not feasible at all.
So far as an experiment, you'd need a slow moving, relatively small projectile to pass very close to your rig (assuming it's quite small / low powered) to see any effects.