In an example, the executed test cases described above can comprise business function test cases that can be executed using the monolithic application (e.g., run on the monolithic application via processor 106). In this example, such business function test cases can provide business functionalities of the monolithic application in the runtime traces. For instance, such business function test cases can provide microservice generation system 102 and/or model component 108 with the order and frequency of how classes and function calls of the monolithic application interact and can further enable microservice generation system 102 and/or model component 108 to associate business context with each trace to provide improved functional grouping (e.g., via microservice generation system 102, model component 108, and/or cluster component 110 as described below).