def set_text(self, sel, text):
        items = self.get(sel)
        res = 0
        for item in items:
            item.text = text_type(text)
            res += 1

        return res
Get specific Server Directory json dictionary based on directoryType.
dataset/ETHPy150Open Blazemeter/taurus/bzt/jmx.py/JMX.set_text--crossover with--dataset/ETHPy150Open Esri/ops-server-config/SupportFiles/AGSRestFunctions.py/getServerDirectory