We present the implementation and demonstration of a software tool for the performance characterization of integrated N-by-1 photonic beamformers for phased array antennas. The software operates the automatic measurement of the transmission parameters of an equivalent N+1 ports microwave network, corresponding to the complex excitations of the individual antenna elements of the array. The measured excitations are used to simulate the array factor generated by the optical beamformer and to analyze it in terms of maximum directivity, sidelobe levels and wideband behaviour. The software provides a useful tool to test the wideband performance of the network, the effects of excitation inaccuracies, and a straightforward evaluation of the effects of amplitude and phase weighting for beam shaping