When I first came into contact with httprunner, I was not familiar with the YML format. After running the use case, I reported an error while parsing a block mapping
an error is reported as shown in the figure:
after checking the data, it is said that there is no alignment. It is recommended to use space alignment. Then find my 9 lines, find that the number of spaces is different from the others, and then use spaces to keep consistent with the others.
For example, in my extract, I counted the four spaces before the request, counted the first four spaces before the extract, and found that they were not four. After changing them, I succeeded. PS: because the number of extracted spaces in the front is wrong, and the spaces of imagetoken below are also wrong. They will succeed after they are changed together