The weapon target assignment (WTA) problem is an important task to tactical arrangements in military commitment operations. It describes the optimal method to allocate defenses in opposition to threats in fighting situations. It is an NP-complete issue in which no accurate outcome for all conceivable situations is known. The time performance of created algorithms is a major challenge in modeling the WTA problem, which has only been lately considered in related papers. This article introduces a new algorithm called Swarm Urochordate Algorithm (SUA) which is inspired nature by tunicates to solve the WTA problem. The suggested method is compared to nine metaheuristic approaches recently established for 30 well-known testing benchmarks. Convergence and computer complexity are also examined. The experimental findings show that the method presented works better than previous competing metaheuristic approaches.