If you really feel the need to do this, use an SPL meter (set to C range for lows), one cab fully capable of going well beyond anything you'll put through it, one bass with the same settings and play the same note the same way; I'd use the C on the A string, that's mostly in the middle of where I play, I guess. Attach and crank each amp until you think it just starts to break up and STOP. Compare what the meter says and what your ear says. The loudest one might be the highest rated; then again, it may not. Hopefully you won't break anything because of curiosity.
Don't have an SPL meter? Yeah, most folks don't have one in their gig bag. You can pick one up online for thirty bucks that might work IF it's worth that much to you.
I only bought one 25 years ago, analog of course, because my son wanted to do a science fair project about sound. But I also used it to set up my 6.1 surround system speaker balances, so I got my money's worth. It's still around here somewhere, but it's been two decades since I've used it.
Or just go by your ears like folks have said.