The purpose of the Drone Swarm attack on Israel was to generate data for Irans’ Drone industry.
Behind the front men and propagandists there is an educated, skilled team of Iranian technologists. They are in the Drone business. The raid demonstrated the range and depth of penetration that could be achieved by inexpensive drones. It produced information on the timing and nature of the targets’ response. I believe the raid was very successful.
The cost of the Drone swarm was insignificant compared to the cost of the response. Future swarms can easily exhaust the resources of any defense system. Last night there were ~325 missiles that tested various levels of ordnance. Had Iran been serious there would have been 3500 Drones followed by 200 missiles. I assume strategists on both sides are working out the numbers. Last nights’ raid gives them a few new numbers to crunch.