Add mmap-mmap test and store data in directory according to the traffic type