The Balance Between Allah’s Test And Your Own Actions?

We should never blame Allah for anything, he sends us tough times as tests. But how do we know the balance between Allah’s test and our own actions?