code: def record_property(request):
      """Add an extra properties the calling test.
      User properties become part of the test report and are available to the
      configured reporters, like JUnit XML.
      The fixture is callable with ``(name, value)``, with value being automatically
      xml-encoded.
  
      Example::
  
          def test_function(record_property):
              record_property("example_key", 1)
      """
      _warn_incompatibility_with_xunit2(request, "record_property")
  
      def append_property(name, value):
          request.node.user_properties.append((name, value))
  
      return append_property
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import platform
  import re
  import sys
  import time
  from datetime import datetime
  import py
  import six
  import pytest
  from _pytest import nodes
  from _pytest.config import filename_arg
label_desc: Use image node_id 4 for calling a global function with example usage: record_property(request) and returns: append_property