def METHOD_NAME(self, **kwargs):
    self.requests = kwargs.get('req', 1)
    self.transaction_per_conn = kwargs.get('tpc', 5)
    # client operations
    prog_c = ASTFProgram()
    #prog_c.connect()
    prog_c.set_var("i", self.transaction_per_conn);
    prog_c.set_label("a:");
    prog_c.send(self.http_req)
    prog_c.delay_rand(10, 50);
    prog_c.recv((len(self.http_res)),True)
    prog_c.jmp_nz("i", "a:")
    if self.tcp_reset:
        prog_c.reset()
    prog_s = ASTFProgram()
    prog_s.set_var("i", self.transaction_per_conn);
    prog_s.set_label("a:");
    prog_s.recv((len(self.http_req)),True)
    prog_s.delay_rand(10, 50);
    prog_s.send(self.http_res )
    prog_s.jmp_nz("i", "a:")
    # ip generator
    ip_gen_c = ASTFIPGenDist(ip_range=[self.p1_src_start_ip,
                                       self.p1_src_end_ip],
                             distribution="seq")
    ip_gen_s = ASTFIPGenDist(ip_range=[self.p1_dst_start_ip,
                                       self.p1_dst_end_ip],
                             distribution="seq")
    ip_gen = ASTFIPGen(glob=ASTFIPGenGlobal(ip_offset="0.0.0.1"),
                       dist_client=ip_gen_c,
                       dist_server=ip_gen_s)
    # template
    client_template = ASTFTCPClientTemplate(program=prog_c, ip_gen=ip_gen)
    server_template = ASTFTCPServerTemplate(program=prog_s)
    template = ASTFTemplate(client_template=client_template,
                            server_template=server_template)
    # profile
    return ASTFProfile(default_ip_gen=ip_gen, templates=template)