Read test payload from resource file