Only record methodname for invoke api