The paper deals with the numerical analysis of a tensile loaded riveted joint. Finite element simulations of the upsetting process were carried out with the use of Marc code to determine the residual stress field. The contact with friction is defined between the mating parts of the joint. The computations were performed for four cases of material and load conditions and a comparison was performed on the basis of results obtained for standard elasto plastic and Gurson material models. Moreover, the influence of material model and residual stress on the tensile loaded joint was analyzed.