'The querystring comes like this
\'SendMessageBatchRequestEntry.1.DelaySeconds\': [\'0\'],
\'SendMessageBatchRequestEntry.1.MessageBody\': [\'test message 1\'],
\'SendMessageBatchRequestEntry.1.Id\': [\'6d0f122d-4b13-da2c-378f-e74244d8ad11\']
\'SendMessageBatchRequestEntry.2.Id\': [\'ff8cbf59-70a2-c1cb-44c7-b7469f1ba390\'],
\'SendMessageBatchRequestEntry.2.MessageBody\': [\'test message 2\'],
\'SendMessageBatchRequestEntry.2.DelaySeconds\': [\'0\'],'

def send_message_batch(self):

    queue_name = self._get_queue_name()
    messages = []
    for index in range(1, 11):
        message_key = u'SendMessageBatchRequestEntry.{0}.MessageBody'.format(index)
        message_body = self.querystring.get(message_key)
        if (not message_body):
            break
        message_user_id_key = u'SendMessageBatchRequestEntry.{0}.Id'.format(index)
        message_user_id = self.querystring.get(message_user_id_key)[0]
        delay_key = u'SendMessageBatchRequestEntry.{0}.DelaySeconds'.format(index)
        delay_seconds = self.querystring.get(delay_key, [None])[0]
        message = self.sqs_backend.send_message(queue_name, message_body[0], delay_seconds=delay_seconds)
        message.user_id = message_user_id
        message_attributes = parse_message_attributes(self.querystring, base=u'SendMessageBatchRequestEntry.{0}.'.format(index))
        if (type(message_attributes) == tuple):
            return (message_attributes[0], message_attributes[1])
        message.message_attributes = message_attributes
        messages.append(message)
    template = self.response_template(SEND_MESSAGE_BATCH_RESPONSE)
    return template.render(messages=messages)
