An image forming apparatus includes an image forming unit which forms an
image on a recording medium, a post-processing unit which performs a
post-processing on the recording medium on which the image is formed by
the image forming unit, and a post-processing controller which controls
the post-processing unit according to whether an image requested by a
user or a test image is formed on the recording medium. An image forming
method includes, in a case where the requested image and the test image
are formed on plural recording media, controlling the post-processing
according to whether the requested image or the test image is formed on
the recording medium, and according to the control, performing the
post-processing on the recording medium on which the requested image or
the test image is formed.